| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
-include VERSION |
| 4 |
|
| 5 |
# Tell texlive to respect SOURCE_DATE_EPOCH for reproducible builds |
| 6 |
export FORCE_SOURCE_DATE=1 |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ |
| 10 |
|
| 11 |
override_dh_auto_build: |
| 12 |
# Force UTF-8 locale to ensure UTF-8 file encoding for generated files |
| 13 |
LC_ALL=C.UTF-8 dh_auto_build |
| 14 |
|
| 15 |
override_dh_installdocs: |
| 16 |
dh_installdocs -Nfai-server -Nfai-quickstart |
| 17 |
sed -i 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' debian/fai-client/usr/share/doc/fai-client/README |
| 18 |
|
| 19 |
override_dh_installchangelogs: |
| 20 |
dh_installchangelogs -Nfai-server -Nfai-quickstart |
| 21 |
|
| 22 |
override_dh_compress: |
| 23 |
dh_compress -Xexamples -X.pdf |