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
|
MODDIR = ../..
|
||||||
CONFDIR = $(HOME)/.jannet
|
|
||||||
|
include $(MODDIR)/make/scripts.mk
|
||||||
|
|
||||||
|
#INSTALL_BINDIR = $(ENV_PREFIX)/$(HOME)/bin
|
||||||
|
#CONFDIR = $(ENV_PREFIX)/$(HOME)/.jannet
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
|
||||||
$(EXEDIR):
|
$(INSTALL_BINDIR):
|
||||||
mkdir -p $@
|
$(INSTALL) -o root -g root -m 755 -d $@
|
||||||
|
|
||||||
$(CONFDIR):
|
#install: $(EXEDIR) $(CONFDIR)
|
||||||
mkdir -p $@
|
# $(INSTALL) *.sh -m 755 $(EXEDIR)/
|
||||||
|
# if [ -f *.conf ]; then $(INSTALL) *.conf $(CONFDIR)/; fi
|
||||||
|
|
||||||
install: $(EXEDIR) $(CONFDIR)
|
#clean distclean libclean:
|
||||||
install *.sh -m 755 $(EXEDIR)/
|
# rm -rf *~ .*.swp core *.rep
|
||||||
if [ -f *.conf ]; then install *.conf $(CONFDIR)/; fi
|
|
||||||
|
|
||||||
clean distclean libclean:
|
install: $(INSTALL_BINDIR) $(INSTALLED_EXE_SH)
|
||||||
rm -rf *~ .*.swp core *.rep
|
|
||||||
|
|
||||||
profclean:
|
profclean:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue