mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
scripts/Makefile: Add support for cfg section
This commit is contained in:
parent
288869a824
commit
20c4d34315
1 changed files with 14 additions and 11 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue