Backup *.ts

ubuntu/cosmic
ChangZhuo Chen (陳昌倬) 10 years ago committed by Andrew Lee (李健秋)
parent f2440efe2a
commit 76ede8bd98

16
debian/rules vendored

@ -2,10 +2,26 @@
#DH_VERBOSE = 1 #DH_VERBOSE = 1
TS := $(CURDIR)/pcmanfm/translations/
TS_BAK := $(CURDIR)/debian/bak/pcmanfm/translations/
MKDIR := mkdir -p
CP := cp
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%: %:
dh $@ dh $@
override_dh_auto_configure:
$(MKDIR) $(TS_BAK)
$(CP) $(TS)/*.ts $(TS_BAK)
dh_auto_configure
override_dh_auto_clean:
dh_auto_clean
-$(CP) $(TS_BAK)/*.ts $(TS)
override_dh_strip: override_dh_strip:
dh_strip --dbg-package=pcmanfm-qt-dbg dh_strip --dbg-package=pcmanfm-qt-dbg

Loading…
Cancel
Save