51 lines
1.4 KiB
Makefile
Executable File
51 lines
1.4 KiB
Makefile
Executable File
#!/usr/bin/make -f
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_clean:
|
|
make clean || true
|
|
rm -f deps/Xmodem/libzmodem.a
|
|
rm -f deps/cdk-5.0-20161210/Makefile
|
|
rm -f deps/cdk-5.0-20161210/cdk-config
|
|
rm -f deps/cdk-5.0-20161210/cli/Makefile
|
|
rm -f deps/cdk-5.0-20161210/config.log
|
|
rm -f deps/cdk-5.0-20161210/config.status
|
|
rm -f deps/cdk-5.0-20161210/demos/Makefile
|
|
rm -f deps/cdk-5.0-20161210/examples/Makefile
|
|
rm -f deps/cdk-5.0-20161210/include/cdk_config.h
|
|
rm -f deps/cdk-5.0-20161210/include/cdk_version.h
|
|
rm -f deps/jsmn/jsmn.o
|
|
rm -f deps/jsmn/libjsmn.a
|
|
rm -f deps/libb64-1.2/base64/depend
|
|
rm -f deps/libb64-1.2/src/depend
|
|
rm -f deps/libuuid/Makefile
|
|
rm -f deps/libuuid/Makefile.in
|
|
rm -f deps/libuuid/aclocal.m4
|
|
rm -f deps/libuuid/config.h
|
|
rm -f deps/libuuid/config.log
|
|
rm -f deps/libuuid/config.status
|
|
rm -f deps/libuuid/configure
|
|
rm -f deps/libuuid/libtool
|
|
rm -f deps/libuuid/ltmain.sh
|
|
rm -f deps/libuuid/stamp-h1
|
|
rm -f deps/libuuid/uuid.pc
|
|
git checkout deps/libuuid/config.h.in
|
|
|
|
override_dh_auto_configure:
|
|
echo "NOOP"
|
|
|
|
override_dh_autoreconf:
|
|
echo "NOOP"
|
|
|
|
override_dh_auto_build:
|
|
echo "NOOP"
|
|
|
|
override_dh_auto_install:
|
|
make -j1 www
|
|
mkdir -p $$(pwd)/debian/magicka/usr/bin
|
|
mkdir -p $$(pwd)/debian/magicka/usr/share/doc/magicka
|
|
mkdir -p $$(pwd)/debian/magicka/opt/magicka
|
|
cp -p magicka $$(pwd)/debian/magicka/usr/bin/
|
|
cp -pR docs/* $$(pwd)/debian/magicka/usr/share/doc/magicka/
|
|
cp -pR setup.sh $$(pwd)/debian/magicka/opt/magicka/
|