blob: a1e6c752d980c35254bf338f9ff7a98e8cadf383 (
plain)
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
|
#!/usr/bin/make -f
export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
export DEB_CONFFLAGS = --build $(DEB_HOST_GNU_TYPE)
else
export DEB_CONFFLAGS = --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif
%:
dh $@ --with autotools_dev
override_dh_auto_configure:
cc debian/check32.c && ./a.out
ln -s sys/unix/nonalsa/Makefile
override_dh_clean:
dh_clean
[ -e Makefile ] && $(MAKE) cleaner || true
rm -f nyqsrc/sndfnintptrs.h nyqsrc/sndfnint.c nyqsrc/sndfnintdefs.h
rm -f nyqsrc/seqfnintptrs.h nyqsrc/seqfnint.c nyqsrc/seqfnintdefs.h
rm -f jnyqide/*.class jnyqide/*.jar
rm -f runtime/system.lsp
rm -f */config.status */config.log */config.cache
rm -f Makefile
override_dh_install:
dh_install
chmod -x debian/nyquist/usr/share/nyquist/lib/*.lsp
|