mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
27 lines
615 B
Makefile
Executable file
27 lines
615 B
Makefile
Executable file
#!/usr/bin/make -f
|
||
# -*- makefile -*-
|
||
|
||
# Uncomment this to turn on verbose mode.
|
||
#export DH_VERBOSE=1
|
||
|
||
# Get package version
|
||
# dpkg-parsechangelog > 1.17 could use dpkg-parsechangelog --show-field Version
|
||
DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
|
||
|
||
# Define temporary debian directory
|
||
TMPDIR = $$(pwd)/debian/yunohost-admin
|
||
|
||
%:
|
||
dh $@
|
||
|
||
override_dh_auto_build:
|
||
# Run npm/gulp
|
||
#cd src ; npm ci --progress false --loglevel warn --color false
|
||
cd src ; node_modules/gulp/bin/gulp.js build
|
||
rm -rf src/node_modules
|
||
|
||
override_dh_clean:
|
||
dh_clean
|
||
#rm -rf src/node_modules
|
||
rm -rf src/dist
|
||
|