blob: ffb2d4ee827e2a27c5c78c3967e3648fd00d196e (
plain) (
blame)
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
44
45
46
47
48
49
|
--- Makefile.in.orig Thu Sep 14 17:35:51 2000
+++ Makefile.in Wed Jan 3 20:19:31 2001
@@ -87,7 +87,7 @@
# Set this to something if you want all installed binaries to have a suffix.
# Version number is common.
-suffix = -$(VERSION)
+# suffix = -$(VERSION)
#
# You probably don't need to touch anything below this, if you're just
@@ -104,7 +104,7 @@
wmlscript/wmlsdasm.c \
utils/seewbmp.c \
utils/run_kannel_box.c \
- $(STARTSTOPDAEMONSRC)
+
progobjs = $(progsrcs:.c=.o)
progs = $(progsrcs:.c=)
@@ -137,6 +137,8 @@
docs = $(docsrcs:.xml=.html) $(docsrcs:.xml=.ps)
DOCSTARGET=@DOCSTARGET@
+alldocs = doc/ $(shell ls [A-Z]*)
+
figsrcs = $(shell echo doc/*/*.fig)
figs = $(figsrcs:.fig=.png) $(figsrcs:.fig=.ps)
@@ -182,7 +184,9 @@
check: all
utils/run-checks $(checks)
-install: all
+install: install-main install-docs
+
+install-main: all
$(INSTALL) -d $(bindir)
for prog in $(progs); do \
$(INSTALL) $$prog $(bindir)/`basename $$prog`$(suffix); \
@@ -190,7 +194,7 @@
install-docs:
$(INSTALL) -d $(docdir)
- cp -r $(docs) $(docsrcs) $(figs) $(figsrcs) $(docdir)
+ cp -r $(alldocs) $(docdir)
clean:
rm -f core $(progs) $(testprogs) $(checkprogs) $(objs) $(docs) *.a
|