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
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_CFLAGS_MAINT_APPEND := -pipe -Wall
export DEB_LDFLAGS_MAINT_APPEND := -Wl,--no-undefined -Wl,--as-needed
%:
dh $@
override_dh_auto_build:
dh_auto_build
dh_auto_build -- docs
override_dh_auto_install:
dh_auto_install
dh_auto_install -- install-docs
override_dh_auto_clean:
rm -f src/SDL_stretch.pc.in src/SDL_stretch.pc src/SDL_stretch-uninstalled.pc
# Make clean doesn't remove the docs, so we do manually
rm -f doc/SDL_stretch.spec
rm -f doc/*.xml doc/*.dxml doc/*.html doc/*.ar doc/*.spec doc/*.old
dh_auto_clean
|