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.
pcmanfm-qt-packaging/debian/rules

25 lines
659 B

#!/usr/bin/make -f
#DH_VERBOSE = 1
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh ${@} --buildsystem cmake --parallel --with quilt
override_dh_auto_configure:
mkdir -p $(CURDIR)/debian/bak/pcmanfm/translations
cp -r $(CURDIR)/pcmanfm/translations/* $(CURDIR)/debian/bak/pcmanfm/translations
dh_auto_configure
override_dh_auto_clean:
-cp $(CURDIR)/debian/bak/pcmanfm/translations/* $(CURDIR)/pcmanfm/translations/
dh_auto_clean
override_dh_install:
dh_install --exclude=pcmanfm-qt.1 --fail-missing --list-missing
override_dh_strip:
dh_strip -ppcmanfm-qt --dbg-package=pcmanfm-qt-dbg
dh_strip -plibfm-qt5-2 --dbg-package=libfm-qt5-dbg