Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'cleanup' of https://github.com/tewdreyer/bee
* 'cleanup' of https://github.com/tewdreyer/bee:
  beesh: fix installation after build
  beefind.pl: remove beefind.pl from repository and Makefile
  • Loading branch information
mariux committed May 22, 2012
2 parents 908b3ad + aaa7f6a commit 47686bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 338 deletions.
7 changes: 2 additions & 5 deletions Makefile
Expand Up @@ -55,7 +55,6 @@ sed-compat-bashlt4 = -e 'sx\$${\([a-zA-Z_]*\),,}x\$$(tr A-Z a-z <<<\$${\1})xg' \

PROGRAMS_C=beeversion beesep beecut beeuniq beesort beegetopt
PROGRAMS_SHELL=bee beesh beefind
PROGRAMS_PERL=beefind.pl

HELPER_BEE_SHELL=bee-init bee-check bee-remove bee-install bee-list bee-query bee-download bee-update
HELPER_BEE_C=bee-dep
Expand Down Expand Up @@ -83,7 +82,7 @@ COMPAT_BASHLT4=buildtypes/autogen.sh buildtypes/configure.sh buildtypes/make.sh

all: build

build: shellscripts buildtypes perlscripts cprograms manpages
build: shellscripts buildtypes cprograms manpages

compat: compat-bashlt4

Expand All @@ -104,7 +103,6 @@ bee_MANPAGES=$(addprefix manpages/,${MANPAGES})
bee_BUILDTYPES=$(addsuffix .sh,$(addprefix buildtypes/,$(BUILDTYPES)))

shellscripts: $(addsuffix .sh,$(SHELLSCRIPTS)) $(LIBRARY_SHELL)
perlscripts: $(PROGRAMS_PERL)
cprograms: $(PROGRAMS_C) ${HELPER_BEE_C}
manpages: ${bee_MANPAGES}
buildtypes: ${bee_BUILDTYPES}
Expand Down Expand Up @@ -147,7 +145,6 @@ beegetopt: $(addprefix src/, ${BEEGETOPT_OBJECTS})

clean:
$(call quiet-command,rm -f $(addsuffix .sh,${SHELLSCRIPTS}) $(LIBRARY_SHELL) $(HELPER_SHELL),"CLEAN <various>.sh")
$(call quiet-command,rm -f ${PROGRAMS_PERL},"CLEAN ${PROGRAMS_PERL}")
$(call quiet-command,rm -f ${PROGRAMS_C},"CLEAN ${PROGRAMS_C}")
$(call quiet-command,rm -f ${HELPER_BEE_C},"CLEAN ${HELPER_BEE_C}")
$(call quiet-command,rm -f src/*.o,"CLEAN c object files")
Expand All @@ -158,7 +155,7 @@ install: install-core install-config

install-core: build install-man install-hooks install-buildtypes install-beeshlib install-tools install-helper install-bin

install-bin: $(addprefix ${DESTDIR}${BINDIR}/,${PROGRAMS_PERL} ${PROGRAMS_C} ${PROGRAMS_SHELL})
install-bin: $(addprefix ${DESTDIR}${BINDIR}/,${PROGRAMS_C} ${PROGRAMS_SHELL})

install-dir-bindir:
$(call quiet-installdir,0755,${DESTDIR}${BINDIR})
Expand Down
332 changes: 0 additions & 332 deletions src/beefind.pl

This file was deleted.

4 changes: 3 additions & 1 deletion src/beesh.sh.in
Expand Up @@ -835,6 +835,8 @@ echo


if [ "${OPT_INSTALL}" = "yes" ] ; then
config_export

print_info "installing ${PKGALLPKG} .."
bee install ${OPT_FORCE:+-f} ${OPT_UPDATE:+-u} ${BEE_PKGDIR}/${PKGALLPKG}.bee.tar.bz2
${BEE_LIBEXECDIR}/bee/bee.d/bee-install ${OPT_FORCE:+-f} ${OPT_UPDATE:+-u} ${BEE_PKGDIR}/${PKGALLPKG}.bee.tar.bz2
fi

0 comments on commit 47686bf

Please sign in to comment.