index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | Makefile | 15 |
@@ -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) |