summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:40:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:40:31 +0000
commitde68c8455aba8cfa34b996af2a2988b09ff570d8 (patch)
tree718d654a2937e5d83bb9c01cae27c95ea6f9f2b4 /debian/rules
parentAdding upstream version 0.17. (diff)
downloadxdg-user-dirs-ce13f7d106829ff09d31dcc17d47a1ba92f66a8e.tar.xz
xdg-user-dirs-ce13f7d106829ff09d31dcc17d47a1ba92f66a8e.zip
Adding debian version 0.17-2.debian/0.17-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5c66c1c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed
+
+%:
+ dh $@ --with gnome
+
+override_dh_autoreconf:
+ dh_autoreconf
+ cp /usr/share/automake-*/mkinstalldirs .
+
+override_dh_auto_build:
+ dh_auto_build
+ $(MAKE) -C po update-gmo
+
+override_dh_clean:
+ rm -f po/*.gmo
+ dh_clean