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

73 lines
2.6 KiB
Plaintext
Raw Normal View History

2018-10-19 11:21:26 +00:00
#!/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/
2018-10-25 04:51:17 +00:00
cp -pR dist/* $$(pwd)/debian/magicka/opt/magicka/
2018-10-19 11:21:26 +00:00
cp -pR setup.sh $$(pwd)/debian/magicka/opt/magicka/
2018-10-25 05:07:29 +00:00
cd utils
2018-10-25 04:51:17 +00:00
#cp -p utils/dosbox/ccenter $$(pwd)/debian/magicka/usr/bin/
cp -p dosbox_shim/shim $$(pwd)/debian/magicka/usr/bin/
#cp -p utils/fileapprove/fileapprove $$(pwd)/debian/magicka/usr/bin/
cp -p filecenter/filecenter $$(pwd)/debian/magicka/usr/bin/
#cp -p utils/filepost/filepost $$(pwd)/debian/magicka/usr/bin/
cp -p magichat/magichat $$(pwd)/debian/magicka/usr/bin/
cp -p magiedit/magiedit $$(pwd)/debian/magicka/usr/bin/
cp -p magiftpd/magiftpd $$(pwd)/debian/magicka/usr/bin/
cp -p magimail/bin/* $$(pwd)/debian/magicka/usr/bin/
cp -p magimail/doc/* $$(pwd)/debian/magicka/usr/share/doc/magicka/
cp -p massupload/massupload.pl $$(pwd)/debian/magicka/usr/bin/
cp -p 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 newfilescan/newfilescan.pl $$(pwd)/debian/magicka/usr/bin/
cp -p nodelistp/nodelistp.pl $$(pwd)/debian/magicka/usr/bin/
#cp -p utils/qwknet $$(pwd)/debian/magicka/usr/bin/
cp -p reset_pass/reset_pass $$(pwd)/debian/magicka/usr/bin/
cp -p sql_update/*.pl $$(pwd)/debian/magicka/usr/bin/
cp -p ticproc/ticproc $$(pwd)/debian/magicka/usr/bin/