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
|
#!/usr/bin/make -f
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
MORE_CFLAGS=$(shell dpkg-buildflags --get CPPFLAGS) \
$(shell dpkg-buildflags --get CFLAGS) \
$(shell dpkg-buildflags --get CXXFLAGS)
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
export MORE_CFLAGS+=-g
else
export MORE_CFLAGS+=-O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
%:
dh $@ -Dsrc
override_dh_auto_build:
dh_auto_build -- 'LINK=$$(CXX)'
override_dh_auto_install:
override_dh_installchangelogs:
dh_installchangelogs src/README
override_dh_fixperms-indep:
dh_fixperms
chmod 0644 debian/billard-gl-data/usr/share/games/billard-gl/Texturen/2/filzkachel.bmp
|