mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
22 lines
492 B
Makefile
Executable File
22 lines
492 B
Makefile
Executable File
#! /usr/bin/make -f
|
|
export DH_VERBOSE=1
|
|
|
|
%:
|
|
dh $@
|
|
|
|
# disable "make check"
|
|
override_dh_auto_test:
|
|
|
|
# disable stripping debugging symbols
|
|
override_dh_clistrip:
|
|
|
|
override_dh_auto_build:
|
|
npm ci --no-audit --unsafe-perm
|
|
npm run build:production
|
|
mv $(CURDIR)/dist $(CURDIR)/web
|
|
|
|
override_dh_auto_clean:
|
|
test -d $(CURDIR)/dist && rm -rf '$(CURDIR)/dist' || true
|
|
test -d $(CURDIR)/web && rm -rf '$(CURDIR)/web' || true
|
|
test -d $(CURDIR)/node_modules && rm -rf '$(CURDIR)/node_modules' || true
|