summaryrefslogtreecommitdiff
path: root/newmoon/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'newmoon/debian/rules')
-rwxr-xr-xnewmoon/debian/rules8
1 files changed, 7 insertions, 1 deletions
diff --git a/newmoon/debian/rules b/newmoon/debian/rules
index 3d4ed6f..6f11f13 100755
--- a/newmoon/debian/rules
+++ b/newmoon/debian/rules
@@ -3,6 +3,8 @@
# Some Debian build tools clear out some variables
export SHELL=/bin/bash
+MOZCONFIGFILE = debian/mozconfig
+
# stackrpms,2 just do not need lsb_release
#distrel := $(shell lsb_release --codename --short)
@@ -12,6 +14,7 @@ export SHELL=/bin/bash
LDFLAGS += -Wl,--reduce-memory-overheads
LDFLAGS += -Wl,--no-keep-memory
+# stackrpms,3 must be legacy and sounds interesting
# Add execution time and memory usage stats in the logs
LDFLAGS += -Wl,--stats
@@ -20,6 +23,8 @@ ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
export DEB_CXXFLAGS_MAINT_APPEND = -mfpu=neon -funsafe-math-optimizations
endif
+#stackrpms,7-->1 I do not need this distrel logic
+
%:
dh $@
@@ -33,10 +38,11 @@ override_dh_auto_clean:
mv palemoon/branding/unofficial.unbuilt palemoon/branding/unofficial ; \
} || :
+# Don't run the "autoreconfigure by default" added to debhelper >= 10.
override_dh_autoreconf:
override_dh_auto_configure:
- cp debian/mozconfig mozconfig
+ cp $(MOZCONFIGFILE) .
#stackrpms,4
! test -d palemoon/branding/unofficial.unbuilt && { \
cp -pr palemoon/branding/unofficial palemoon/branding/unofficial.unbuilt && \
bgstack15