This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
magicka/debian/rules
2018-10-25 16:23:20 +11:00

72 lines
2.7 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 dist/* $$(pwd)/debian/magicka/opt/magicka/
cp -pR setup.sh $$(pwd)/debian/magicka/opt/magicka/
#cp -p utils/dosbox/ccenter $$(pwd)/debian/magicka/usr/bin/
cp -p utils/dosbox_shim/shim $$(pwd)/debian/magicka/usr/bin/
#cp -p utils/fileapprove/fileapprove $$(pwd)/debian/magicka/usr/bin/
cp -p utils/filecenter/filecenter $$(pwd)/debian/magicka/usr/bin/
#cp -p utils/filepost/filepost $$(pwd)/debian/magicka/usr/bin/
cp -p utils/magichat/magichat $$(pwd)/debian/magicka/usr/bin/
cp -p utils/magiedit/magiedit $$(pwd)/debian/magicka/usr/bin/
cp -p utils/magiftpd/magiftpd $$(pwd)/debian/magicka/usr/bin/
cp -p utils/magimail/bin/* $$(pwd)/debian/magicka/usr/bin/
cp -p utils/magimail/doc/* $$(pwd)/debian/magicka/usr/share/doc/magicka/
cp -p utils/massupload/massupload.pl $$(pwd)/debian/magicka/usr/bin/
cp -p utils/mgpost/mgpost $$(pwd)/debian/magicka/usr/bin/
#cp -p utils/mnetftn $$(pwd)/debian/magicka/usr/bin/
#cp -p utils/mnetftpd $$(pwd)/debian/magicka/usr/bin/
cp -p utils/newfilescan/newfilescan.pl $$(pwd)/debian/magicka/usr/bin/
cp -p utils/nodelistp/nodelistp.pl $$(pwd)/debian/magicka/usr/bin/
#cp -p utils/qwknet $$(pwd)/debian/magicka/usr/bin/
cp -p utils/reset_pass/reset_pass $$(pwd)/debian/magicka/usr/bin/
cp -p utils/sql_update/*.pl $$(pwd)/debian/magicka/usr/bin/
cp -p utils/ticproc/ticproc $$(pwd)/debian/magicka/usr/bin/