1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
EXAMPLEDIR=debian/elk-lapw/usr/share/doc/elk-lapw/examples
%:
dh $@
override_dh_auto_build:
dh_auto_build
(cd src; $(MAKE) doc)
(cd src/spacegroup; $(MAKE) doc)
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
(cd tests; OMPI_MCA_orte_rsh_agent=/bin/false sh ./tests_quick.sh)
for i in tests/test-*/test.log; do \
if [ -e $$i ]; then \
echo "Error for test $$i:"; \
sed -n -e '/^Error/,$$p' $$i; \
fi \
done
endif
override_dh_install:
dh_install
mv $(CURDIR)/debian/elk-lapw/usr/bin/xps_exc.pl \
$(CURDIR)/debian/elk-lapw/usr/bin/xps_exc
mv $(CURDIR)/debian/elk-lapw/usr/bin/elk \
$(CURDIR)/debian/elk-lapw/usr/bin/elk-lapw #bug #720044
override_dh_installchangelogs:
dh_installchangelogs release_notes.txt
.NOTPARALLEL:
|