You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
706 B
33 lines
706 B
#!/usr/bin/make -f
|
|
|
|
#DH_VERBOSE = 1
|
|
|
|
|
|
TS := $(CURDIR)/pcmanfm/translations/
|
|
TS_BAK := $(CURDIR)/debian/bak/pcmanfm/translations/
|
|
|
|
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_configure:
|
|
mkdir -p $(TS_BAK)
|
|
cp $(TS)/*.ts $(TS_BAK)
|
|
dh_auto_configure
|
|
|
|
override_dh_auto_clean:
|
|
dh_auto_clean
|
|
-cp $(TS_BAK)/*.ts $(TS)
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_install
|
|
find $(CURDIR)/debian/tmp -type d -empty -delete
|
|
|
|
override_dh_installman:
|
|
help2man --version-string=$(shell dpkg-parsechangelog -SVersion|cut -d- -f 1) $(CURDIR)/debian/tmp/usr/bin/pcmanfm-qt > $(CURDIR)/debian/pcmanfm-qt.manpages
|
|
dh_installman
|
|
|
|
override_dh_strip:
|
|
dh_strip --dbg-package=pcmanfm-qt-dbg
|