with the translations this should be fixed upstream not saving the translations only affects the sources for local builds, which are not the best idea in any case. we don't need the save and restore for pbuilder and sbuild
31 lines
642 B
Makefile
Executable File
31 lines
642 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
#DH_VERBOSE = 1
|
|
export USE_QT5=1
|
|
|
|
TS := $(CURDIR)/pcmanfm/translations
|
|
TS_BAK := $(CURDIR)/debian/bak/pcmanfm/translations
|
|
|
|
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
|
|
|
%:
|
|
dh ${@} --buildsystem cmake --parallel
|
|
|
|
override_dh_auto_configure:
|
|
mkdir -p $(TS_BAK)
|
|
dh_auto_configure
|
|
|
|
override_dh_auto_clean:
|
|
dh_auto_clean
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_install
|
|
find $(CURDIR)/debian/tmp -type d -empty -delete
|
|
|
|
override_dh_install:
|
|
dh_install --fail-missing --exclude=pcmanfm-qt.1
|
|
|
|
override_dh_strip:
|
|
dh_strip -ppcmanfm-qt5 --dbg-package=pcmanfm-qt5-dbg
|
|
dh_strip -plibfm-qt5-1 --dbg-package=libfm-qt5-dbg
|