autoconf fixes
This commit is contained in:
parent
bc68b0eb5a
commit
97bea2bd0f
|
@ -24,7 +24,7 @@ datarootdir=@datarootdir@
|
||||||
sysconfdir=@sysconfdir@
|
sysconfdir=@sysconfdir@
|
||||||
localstatedir=@localstatedir@
|
localstatedir=@localstatedir@
|
||||||
mandir=@mandir@
|
mandir=@mandir@
|
||||||
htmldir=@prefix@/html
|
docdir=@prefix@/docs
|
||||||
web_root=@WEB_ROOT@
|
web_root=@WEB_ROOT@
|
||||||
|
|
||||||
srcdir=@srcdir@
|
srcdir=@srcdir@
|
||||||
|
@ -40,7 +40,7 @@ DOCS = COPYING HISTORY README copyright docs/schema/dhcp.schema
|
||||||
HTML_DOCS = devel manual
|
HTML_DOCS = devel manual
|
||||||
|
|
||||||
LIST1 = graphics help index.html lib locale style templates VERSION
|
LIST1 = graphics help index.html lib locale style templates VERSION
|
||||||
LIST2 = sess tmp
|
LIST2 = sess tmp tmp/internal
|
||||||
LIST3 = config
|
LIST3 = config
|
||||||
|
|
||||||
RAR = run-as-root.sh
|
RAR = run-as-root.sh
|
||||||
|
@ -79,12 +79,13 @@ install-lam:
|
||||||
$(PERL) -pi -e "s~/usr/bin/perl~$(PERL)~" \
|
$(PERL) -pi -e "s~/usr/bin/perl~$(PERL)~" \
|
||||||
$(DESTDIR)$(web_root)/lib/lamdaemon.pl ; \
|
$(DESTDIR)$(web_root)/lib/lamdaemon.pl ; \
|
||||||
cd $${HERE} ; \
|
cd $${HERE} ; \
|
||||||
echo "LAM files installed" ; \
|
|
||||||
if [ `$(ID) -u` = 0 ] ; then \
|
if [ `$(ID) -u` = 0 ] ; then \
|
||||||
$(MAKE) DESTDIR=$(DESTDIR) do-chown ; \
|
$(MAKE) DESTDIR=$(DESTDIR) do-chown ; \
|
||||||
else \
|
else \
|
||||||
$(MAKE) DESTDIR=$(DESTDIR) echo-chown ; \
|
$(MAKE) DESTDIR=$(DESTDIR) echo-chown ; \
|
||||||
fi
|
fi ; \
|
||||||
|
echo "" ; \
|
||||||
|
echo "LAM installed in $(DESTDIR)$(prefix)"
|
||||||
|
|
||||||
|
|
||||||
do-chown:
|
do-chown:
|
||||||
|
@ -114,11 +115,12 @@ echo-chown:
|
||||||
|
|
||||||
|
|
||||||
install-htdocs:
|
install-htdocs:
|
||||||
@[ -d $(DESTDIR)$(htmldir) ] || \
|
@[ -d $(DESTDIR)$(docdir) ] || \
|
||||||
$(MKDIR) -p $(DESTDIR)$(htmldir) || exit 1 ; \
|
$(MKDIR) -p $(DESTDIR)$(docdir) || exit 1 ; \
|
||||||
(cd $(srcdir)/docs ; $(TAR) cf - $(HTML_DOCS)) | \
|
(cd $(srcdir)/docs ; $(TAR) cf - $(HTML_DOCS)) | \
|
||||||
(cd $(DESTDIR)$(htmldir) ; $(TAR) xf -) ; \
|
(cd $(DESTDIR)$(docdir) ; $(TAR) xf -) ; \
|
||||||
echo "HTML docs installed in $(htmldir)"
|
echo "Documentation installed in $(docdir)" ; \
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in New Issue