diff --git a/scripts/Makefile b/scripts/Makefile index 00bd1a8f..e6c52692 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -29,22 +29,25 @@ # # ######################################################################## -EXEDIR = $(HOME)/bin -CONFDIR = $(HOME)/.jannet +MODDIR = ../.. + +include $(MODDIR)/make/scripts.mk + +#INSTALL_BINDIR = $(ENV_PREFIX)/$(HOME)/bin +#CONFDIR = $(ENV_PREFIX)/$(HOME)/.jannet all: -$(EXEDIR): - mkdir -p $@ +$(INSTALL_BINDIR): + $(INSTALL) -o root -g root -m 755 -d $@ -$(CONFDIR): - mkdir -p $@ +#install: $(EXEDIR) $(CONFDIR) +# $(INSTALL) *.sh -m 755 $(EXEDIR)/ +# if [ -f *.conf ]; then $(INSTALL) *.conf $(CONFDIR)/; fi -install: $(EXEDIR) $(CONFDIR) - install *.sh -m 755 $(EXEDIR)/ - if [ -f *.conf ]; then install *.conf $(CONFDIR)/; fi +#clean distclean libclean: +# rm -rf *~ .*.swp core *.rep -clean distclean libclean: - rm -rf *~ .*.swp core *.rep +install: $(INSTALL_BINDIR) $(INSTALLED_EXE_SH) profclean: