clean up repo

This commit is contained in:
udeved 2015-12-03 23:31:59 +01:00
parent ee5f2b9726
commit 0876404faf
19 changed files with 17 additions and 23 deletions

View file

@ -27,32 +27,32 @@ BIN_ISO = \
bin/deployiso bin/deployiso
SYSCONF = \ SYSCONF = \
conf/manjaro-tools.conf data/manjaro-tools.conf
SETS_PKG = \ SETS_PKG = \
conf/pkg.d/default.set data/pkg.d/default.set
SETS_ISO = \ SETS_ISO = \
conf/iso.d/default.set \ data/iso.d/default.set \
conf/iso.d/official.set \ data/iso.d/official.set \
conf/iso.d/community.set \ data/iso.d/community.set \
conf/iso.d/community-minimal.set data/iso.d/community-minimal.set
SHARED = \ SHARED = \
conf/pacman-default.conf \ data/pacman-default.conf \
conf/pacman-multilib.conf \ data/pacman-multilib.conf \
conf/pacman-mirrors-stable.conf \ data/pacman-mirrors-stable.conf \
conf/pacman-mirrors-testing.conf \ data/pacman-mirrors-testing.conf \
conf/pacman-mirrors-unstable.conf data/pacman-mirrors-unstable.conf
SHARED_PKG = \ SHARED_PKG = \
conf/makepkg-i686.conf \ data/makepkg-i686.conf \
conf/base-devel-udev \ data/base-devel-udev \
conf/makepkg-x86_64.conf data/makepkg-x86_64.conf
SHARED_ISO = \ SHARED_ISO = \
conf/pacman-gfx.conf \ data/pacman-gfx.conf \
conf/profile.conf.example data/profile.conf.example
LIBS = \ LIBS = \
lib/util.sh \ lib/util.sh \
@ -107,7 +107,6 @@ MAN_XML = \
all: $(BIN) $(BIN_PKG) $(BIN_ISO) doc #bin/bash_completion bin/zsh_completion all: $(BIN) $(BIN_PKG) $(BIN_ISO) doc #bin/bash_completion bin/zsh_completion
edit = sed -e "s|@pkgdatadir[@]|$(DESTDIR)$(PREFIX)/share/manjaro-tools|g" \ edit = sed -e "s|@pkgdatadir[@]|$(DESTDIR)$(PREFIX)/share/manjaro-tools|g" \
-e "s|@bindir[@]|$(DESTDIR)$(PREFIX)/bin|g" \
-e "s|@sysconfdir[@]|$(DESTDIR)$(SYSCONFDIR)/manjaro-tools|g" \ -e "s|@sysconfdir[@]|$(DESTDIR)$(SYSCONFDIR)/manjaro-tools|g" \
-e "s|@libdir[@]|$(DESTDIR)$(PREFIX)/lib/manjaro-tools|g" \ -e "s|@libdir[@]|$(DESTDIR)$(PREFIX)/lib/manjaro-tools|g" \
-e "s|@version@|${Version}|" -e "s|@version@|${Version}|"
@ -140,9 +139,6 @@ install_base:
install -dm0755 $(DESTDIR)$(PREFIX)/share/manjaro-tools install -dm0755 $(DESTDIR)$(PREFIX)/share/manjaro-tools
install -m0644 ${SHARED} $(DESTDIR)$(PREFIX)/share/manjaro-tools install -m0644 ${SHARED} $(DESTDIR)$(PREFIX)/share/manjaro-tools
install -dm0755 $(DESTDIR)$(PREFIX)/share/man/man1
gzip -c man/buildset.1 > $(DESTDIR)$(PREFIX)/share/man/man1/buildset.1.gz
# install -Dm0644 bin/bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/manjaro_tools # install -Dm0644 bin/bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/manjaro_tools
# install -Dm0644 bin/zsh_completion $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_manjaro_tools # install -Dm0644 bin/zsh_completion $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_manjaro_tools
@ -203,7 +199,6 @@ uninstall_base:
for f in ${BIN}; do rm -f $(DESTDIR)$(PREFIX)/bin/$$f; done for f in ${BIN}; do rm -f $(DESTDIR)$(PREFIX)/bin/$$f; done
for f in ${SHARED}; do rm -f $(DESTDIR)$(PREFIX)/share/manjaro-tools/$$f; done for f in ${SHARED}; do rm -f $(DESTDIR)$(PREFIX)/share/manjaro-tools/$$f; done
for f in ${LIBS}; do rm -f $(DESTDIR)$(PREFIX)/lib/manjaro-tools/$$f; done for f in ${LIBS}; do rm -f $(DESTDIR)$(PREFIX)/lib/manjaro-tools/$$f; done
rm -f $(DESTDIR)$(PREFIX)/share/man/man1/buildset.1.gz
# rm $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/manjaro_tools # rm $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/manjaro_tools
# rm $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_manjaro_tools # rm $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_manjaro_tools

View file

@ -23,7 +23,7 @@ $HOME/.config/manjaro-tools/manjaro-tools.conf
If the userconfig is present, manjaro-tools will load the userconfig values, however, if variables have been set in the systemwide If the userconfig is present, manjaro-tools will load the userconfig values, however, if variables have been set in the systemwide
~~~ ~~~
/etc/manjaro-tools/manjaro-tools/manjaro-tools.conf /etc/manjaro-tools/manjaro-tools.conf
~~~ ~~~
these values take precedence over the userconfig. these values take precedence over the userconfig.

View file

@ -11,7 +11,6 @@
version=@version@ version=@version@
BINDIR='@bindir@'
LIBDIR='@libdir@' LIBDIR='@libdir@'
PKGDATADIR='@pkgdatadir@' PKGDATADIR='@pkgdatadir@'
SYSCONFDIR='@sysconfdir@' SYSCONFDIR='@sysconfdir@'