blob: 274fa5a98363a317af9f7cbf9cbd1f823e94878c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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
|