index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-22 11:00:15 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-06-16 14:32:13 +0200 |
commit | 20806cebc1da4ecad7a0574a040180a5477b2f15 (patch) | |
tree | ad4c24c486012d51de89271e4df91cb5e4019de8 /Makefile | |
parent | 4c6f13e75468300ee33c75c516dc8fe343fa214b (diff) |
-rw-r--r-- | Makefile | 31 |
@@ -24,12 +24,19 @@ BINPROGS = \ sogrep GENERATED_CONFIGFILES = \ + pacman-extra-i486.conf \ pacman-extra-i686.conf \ + pacman-testing-i486.conf \ pacman-testing-i686.conf \ + pacman-staging-i486.conf \ pacman-staging-i686.conf \ + pacman-staging-with-build-support-i486.conf \ pacman-staging-with-build-support-i686.conf \ + pacman-kde-unstable-i486.conf \ pacman-kde-unstable-i686.conf \ + pacman-gnome-unstable-i486.conf \ pacman-gnome-unstable-i686.conf \ + makepkg-i486.conf \ makepkg-i686.conf CONFIGFILES = \ @@ -58,18 +65,24 @@ COMMITPKG_LINKS = \ gnome-unstablepkg ARCHBUILD_LINKS = \ + extra-i486-build \ extra-i686-build \ extra-x86_64-build \ + testing-i486-build \ testing-i686-build \ testing-x86_64-build \ + staging-i486-build \ staging-i686-build \ staging-x86_64-build \ + staging-with-build-support-i486-build \ staging-with-build-support-i686-build \ multilib-build \ multilib-testing-build \ multilib-staging-build \ + kde-unstable-i486-build \ kde-unstable-i686-build \ kde-unstable-x86_64-build \ + gnome-unstable-i486-build \ gnome-unstable-i686-build \ gnome-unstable-x86_64-build @@ -97,13 +110,29 @@ man: $(MANS) edit = sed -e "s|@pkgdatadir[@]|$(DESTDIR)$(PREFIX)/share/devtools|g" +makepkg-i486.conf: makepkg-x86_64.conf + @echo "GEN $@" + @sed 's,\(["=]\)x86[-_]64\([-" ]\),\1i486\2,g' "$<" > "$@" + makepkg-i686.conf: makepkg-x86_64.conf @echo "GEN $@" @sed 's,\(["=]\)x86[-_]64\([-" ]\),\1i686\2,g' "$<" > "$@" +pacman-%-i486.conf: pacman-%.conf + @echo "GEN $@" + @sed " \ + s,/mirrorlist\$$,\032,; \ + /^Architecture = / s/^.*\$$/Architecture = i486/; \ + $$ a [bootstrap]\\n\ + Server = http://archlinux32.andreasbaumann.cc/\$$repo/\$$arch \ + " "$<" > "$@" + pacman-%-i686.conf: pacman-%.conf @echo "GEN $@" - @sed 's,/mirrorlist$$,\032,' "$<" > "$@" + @sed " \ + s,/mirrorlist\$$,\032,; \ + /^Architecture = / s/^.*$$/Architecture = i686/ \ + " "$<" > "$@" %: %.in Makefile lib/common.sh @echo "GEN $@" |