summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-25 20:31:37 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-25 20:31:37 -0500
commitf6bc9735151836a83e10c230aa77d0da7dc7b36a (patch)
treed8db3356c0ab254948bc265d6a784353c304a646 /Makefile
parent3699321904570c1a775d650f399f31e347defa48 (diff)
Delete stuff Parabola doesn't use
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile70
1 files changed, 2 insertions, 68 deletions
diff --git a/Makefile b/Makefile
index b0e07fa..5857445 100644
--- a/Makefile
+++ b/Makefile
@@ -4,70 +4,14 @@ PREFIX = /usr/local
BINPROGS = \
checkpkg \
- commitpkg \
- archco \
- archrelease \
- archrm \
- archbuild \
- lddd \
- finddeps \
- rebuildpkgs \
find-libdeps \
- crossrepomove
+ finddeps \
+ lddd
SBINPROGS = \
mkarchroot \
makechrootpkg
-CONFIGFILES = \
- makepkg-i686.conf \
- makepkg-x86_64.conf \
- pacman-extra.conf \
- pacman-testing.conf \
- pacman-staging.conf \
- pacman-multilib.conf \
- pacman-multilib-testing.conf \
- pacman-multilib-staging.conf \
- pacman-kde-unstable.conf \
- pacman-gnome-unstable.conf
-
-COMMITPKG_LINKS = \
- extrapkg \
- corepkg \
- testingpkg \
- stagingpkg \
- communitypkg \
- community-testingpkg \
- community-stagingpkg \
- multilibpkg \
- multilib-testingpkg \
- multilib-stagingpkg \
- kde-unstablepkg \
- gnome-unstablepkg
-
-ARCHBUILD_LINKS = \
- extra-i686-build \
- extra-x86_64-build \
- testing-i686-build \
- testing-x86_64-build \
- staging-i686-build \
- staging-x86_64-build \
- multilib-build \
- multilib-testing-build \
- multilib-staging-build \
- kde-unstable-i686-build \
- kde-unstable-x86_64-build \
- gnome-unstable-i686-build \
- gnome-unstable-x86_64-build
-
-CROSSREPOMOVE_LINKS = \
- extra2community \
- community2extra
-
-BASHCOMPLETION_LINKS = \
- archco \
- communityco
-
all: $(BINPROGS) $(SBINPROGS) bash_completion zsh_completion
edit = sed -e "s|@pkgdatadir[@]|$(DESTDIR)$(PREFIX)/share/devtools|g"
@@ -88,26 +32,16 @@ install:
install -dm0755 $(DESTDIR)$(PREFIX)/share/devtools
install -m0755 ${BINPROGS} $(DESTDIR)$(PREFIX)/bin
install -m0755 ${SBINPROGS} $(DESTDIR)$(PREFIX)/sbin
- install -m0644 ${CONFIGFILES} $(DESTDIR)$(PREFIX)/share/devtools
- for l in ${COMMITPKG_LINKS}; do ln -sf commitpkg $(DESTDIR)$(PREFIX)/bin/$$l; done
- for l in ${ARCHBUILD_LINKS}; do ln -sf archbuild $(DESTDIR)$(PREFIX)/bin/$$l; done
- for l in ${CROSSREPOMOVE_LINKS}; do ln -sf crossrepomove $(DESTDIR)$(PREFIX)/bin/$$l; done
ln -sf find-libdeps $(DESTDIR)$(PREFIX)/bin/find-libprovides
install -Dm0644 bash_completion $(DESTDIR)/usr/share/bash-completion/completions/devtools
- for l in ${BASHCOMPLETION_LINKS}; do ln -sf devtools $(DESTDIR)/usr/share/bash-completion/completions/$$l; done
install -Dm0644 zsh_completion $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_devtools
- ln -sf archco $(DESTDIR)$(PREFIX)/bin/communityco
uninstall:
for f in ${BINPROGS}; do rm -f $(DESTDIR)$(PREFIX)/bin/$$f; done
for f in ${SBINPROGS}; do rm -f $(DESTDIR)$(PREFIX)/sbin/$$f; done
for f in ${CONFIGFILES}; do rm -f $(DESTDIR)$(PREFIX)/share/devtools/$$f; done
- for l in ${COMMITPKG_LINKS}; do rm -f $(DESTDIR)$(PREFIX)/bin/$$l; done
- for l in ${ARCHBUILD_LINKS}; do rm -f $(DESTDIR)$(PREFIX)/bin/$$l; done
- for l in ${CROSSREPOMOVE_LINKS}; do rm -f $(DESTDIR)$(PREFIX)/bin/$$l; done
rm $(DESTDIR)/usr/share/bash-completion/completions/devtools
rm $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_devtools
- rm -f $(DESTDIR)$(PREFIX)/bin/communityco
rm -f $(DESTDIR)$(PREFIX)/bin/find-libprovides
dist: