Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-08-10 22:28:34 +0200
committerErich Eckner <git@eckner.net>2024-08-10 22:28:34 +0200
commit2994bca96781afd62104c1515532a9c479cb5bed (patch)
tree7eeb1937e1ff758da4f4235e1c43c4e24512c054 /Makefile
parent60922e944a514c3eeec4a50de155fe3c1cc81a58 (diff)
Revert "some temporary patching for [staging] and [testing] repos"
This reverts commit d3d19c4fbb0fc632624d3625d5db322500a1fe8b. [staging] and [testing] are empty now
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 91db463..dd49ce1 100644
--- a/Makefile
+++ b/Makefile
@@ -189,10 +189,7 @@ $(BUILDDIR)/pacman.conf.d/%-i486.conf: config/pacman/%.conf
@sed " \
s,/mirrorlist\$$,\032,; \
/^Architecture = / s/^.*\$$/Architecture = i486/; \
- " "$<" > /tmp/$$.tmp
- @sed -i '/^\[core-staging\]/ i \[staging\]\nInclude = \/etc\/pacman.d\/mirrorlist32\n' /tmp/$$.tmp
- @sed -i '/^\[core-testing\]/ i \[testing\]\nInclude = \/etc\/pacman.d\/mirrorlist32\n' /tmp/$$.tmp
- @cat /tmp/$$.tmp > "$@"
+ " "$<" > "$@"
$(BUILDDIR)/pacman.conf.d/%-i686.conf: config/pacman/%.conf
@echo "GEN $(notdir $@)"
@@ -200,10 +197,7 @@ $(BUILDDIR)/pacman.conf.d/%-i686.conf: config/pacman/%.conf
@sed " \
s,/mirrorlist\$$,\032,; \
/^Architecture = / s/^.*$$/Architecture = i686/ \
- " "$<" > /tmp/$$.tmp
- @sed -i '/^\[core-staging\]/ i \[staging\]\nInclude = \/etc\/pacman.d\/mirrorlist32\n' /tmp/$$.tmp
- @sed -i '/^\[core-testing\]/ i \[testing\]\nInclude = \/etc\/pacman.d\/mirrorlist32\n' /tmp/$$.tmp
- @cat /tmp/$$.tmp > "$@"
+ " "$<" > "$@"
$(BUILDDIR)/pacman.conf.d/%-pentium4.conf: config/pacman/%.conf
@echo "GEN $(notdir $@)"
@@ -211,10 +205,7 @@ $(BUILDDIR)/pacman.conf.d/%-pentium4.conf: config/pacman/%.conf
@sed " \
s,/mirrorlist\$$,\032,; \
/^Architecture = / s/^.*$$/Architecture = pentium4/ \
- " "$<" > /tmp/$$.tmp
- @sed -i '/^\[core-staging\]/ i \[staging\]\nInclude = \/etc\/pacman.d\/mirrorlist32\n' /tmp/$$.tmp
- @sed -i '/^\[core-testing\]/ i \[testing\]\nInclude = \/etc\/pacman.d\/mirrorlist32\n' /tmp/$$.tmp
- @cat /tmp/$$.tmp > "$@"
+ " "$<" > "$@"
define buildInScript
$(1)/%: $(2)%$(3)