summaryrefslogtreecommitdiffstats
path: root/util/lg/Makefile.in
diff options
context:
space:
mode:
authorTar Committer <tar@ocjtech.us>2000-11-24 22:14:14 +0000
committerTar Committer <tar@ocjtech.us>2000-11-24 22:14:14 +0000
commit25c2b7c2c8a333b276c3499bcce004137d4b4fe0 (patch)
treebaad136bdfcea88812dd658a682f126d1af4dfc3 /util/lg/Makefile.in
parent1651adc35224e149715bd85af4ba108c5ee184bc (diff)
downloadrancid-25c2b7c2c8a333b276c3499bcce004137d4b4fe0.tar.gz
rancid-25c2b7c2c8a333b276c3499bcce004137d4b4fe0.tar.xz
rancid-25c2b7c2c8a333b276c3499bcce004137d4b4fe0.zip
Imported from rancid-2.1b.tar.gz.rancid-2.1b
Diffstat (limited to 'util/lg/Makefile.in')
-rw-r--r--util/lg/Makefile.in43
1 files changed, 43 insertions, 0 deletions
diff --git a/util/lg/Makefile.in b/util/lg/Makefile.in
new file mode 100644
index 0000000..274fa5a
--- /dev/null
+++ b/util/lg/Makefile.in
@@ -0,0 +1,43 @@
+PREFIX = @prefix@
+
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+
+UTIL_LG_PROGS = @RD_UTIL_LG_PROGS@
+
+DISTDIR=../$(distdir)/lg
+
+all:
+
+install: all
+ for file in $(UTIL_LG_PROGS) ; do \
+ $(INSTALL) $$file $(PREFIX)/util/lg; \
+ done; \
+ if test -f $(PREFIX)/util/lg/lg.conf ; then \
+ echo "WARNING: *** $(PREFIX)/util/lg/lg.conf exists: installing as lg.conf.new."; \
+ echo " *** review lg.conf.new for new/deprecated switches"; \
+ $(INSTALL_DATA) lg.conf $(PREFIX)/util/lg/lg.conf.new; \
+ else \
+ $(INSTALL_DATA) lg.conf $(PREFIX)/util/lg; \
+ fi; \
+ for file in *README* *.html; do \
+ $(INSTALL_DATA) $$file $(PREFIX)/util/lg; \
+ done
+
+clean:
+ rm -f Makefile $(UTIL_LG_PROGS) lg.conf
+
+distclean: clean
+ rm -f config.log config.status
+
+distdir:
+ test -d $(DISTDIR) \
+ || mkdir $(DISTDIR) \
+ || exit 1; \
+ chmod 777 $(DISTDIR); \
+ for file in Makefile.in configure.in *README* *.html lg.conf.in ; do \
+ $(INSTALL_DATA) $$file $(DISTDIR); \
+ done; \
+ for file in configure $(UTIL_LG_PROGS:=.in) ; do \
+ $(INSTALL) $$file $(DISTDIR); \
+ done