jellyfin-web/debian/rules

22 lines
492 B
Plaintext
Raw Normal View History

2020-03-23 18:46:17 -07:00
#! /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:
2021-04-08 14:09:52 -07:00
npm ci --no-audit --unsafe-perm
2023-03-10 10:24:43 -07:00
npm run build:production
2020-03-23 18:46:17 -07:00
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