1
0
Fork 0
mirror of https://gitlab.easter-eggs.com/ee/ldapsaisie.git synced 2024-12-23 08:53:47 +01:00
ldapsaisie/debian/rules
2014-06-30 12:54:03 +00:00

21 lines
768 B
Makefile
Executable file

#!/usr/bin/make -f
%:
dh $@
override_dh_auto_build:
make -C $(CURDIR)/doc/exports/html -f Makefile debian
override_dh_clean:
dh_clean
make -C $(CURDIR)/doc -f Makefile clean
override_dh_install:
dh_install -X .gitignore -X .placefolder -X tmp
mv $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/local $(CURDIR)/debian/ldapsaisie/usr/local/share/ldapsaisie
find $(CURDIR)/debian/ldapsaisie/usr/local/share/ldapsaisie -type f -exec rm -f \{\} \;
sed -i 's/tmp\/LS.log/\/var\/log\/ldapsaisie\/ldapsaisie.log/' $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/conf/config.inc.php
cp $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/conf/config.inc.php $(CURDIR)/debian/ldapsaisie/usr/local/share/ldapsaisie/conf/config.inc.example.php
override_dh_usrlocal: