1
0
Fork 0
mirror of https://gitlab.easter-eggs.com/ee/ldapsaisie.git synced 2024-12-22 16:33:48 +01:00
ldapsaisie/debian/rules

22 lines
768 B
Text
Raw Normal View History

2013-03-31 05:25:54 +02:00
#!/usr/bin/make -f
2014-06-30 14:54:03 +02:00
%:
dh $@
2013-03-31 05:25:54 +02:00
2014-06-30 14:54:03 +02:00
override_dh_auto_build:
2013-03-31 05:25:54 +02:00
make -C $(CURDIR)/doc/exports/html -f Makefile debian
2014-06-30 14:54:03 +02:00
override_dh_clean:
2013-03-31 05:25:54 +02:00
dh_clean
make -C $(CURDIR)/doc -f Makefile clean
2014-06-30 14:54:03 +02:00
override_dh_install:
dh_install -X .gitignore -X .placefolder -X tmp
2013-03-31 05:25:54 +02:00
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
2013-03-31 05:25:54 +02:00
2014-06-30 14:54:03 +02:00
override_dh_usrlocal: