Browse code

- added install-modules-doc && install-modules-all (==modules+doc) - removed README.cfg from the installed docs - updated debs (now each extra module installs its doc in its own doc dir) - changed ver to rc7 (because of the lookup fix)

Andrei Pelinescu-Onciul authored on 29/08/2003 12:01:29
Showing 3 changed files
... ...
@@ -24,6 +24,8 @@
24 24
 #               in the cfg (re: /usr/.*lib/ser/modules)
25 25
 #              ser.cfg.default is installed only if there is a previous
26 26
 #               cfg. -- fixes packages containing ser.cfg.default (andrei)
27
+#  2003-08-29  install-modules-doc split from install-doc, added 
28
+#               install-modules-all, removed README.cfg (andrei)
27 29
 #
28 30
 
29 31
 auto_gen=lex.yy.c cfg.tab.c   #lexx, yacc etc
... ...
@@ -271,9 +273,10 @@ install-modules: modules $(modules-prefix)/$(modules-dir)
271 271
 	done 
272 272
 
273 273
 
274
-install-doc: $(doc-prefix)/$(doc-dir)
275
-	$(INSTALL-TOUCH) $(doc-prefix)/$(doc-dir)/README.cfg 
276
-	$(INSTALL-DOC) README.cfg $(doc-prefix)/$(doc-dir)
274
+install-modules-all: install-modules install-modules-doc
275
+
276
+
277
+install-doc: $(doc-prefix)/$(doc-dir) install-modules-doc
277 278
 	$(INSTALL-TOUCH) $(doc-prefix)/$(doc-dir)/INSTALL 
278 279
 	$(INSTALL-DOC) INSTALL $(doc-prefix)/$(doc-dir)
279 280
 	$(INSTALL-TOUCH) $(doc-prefix)/$(doc-dir)/README-MODULES 
... ...
@@ -282,6 +285,11 @@ install-doc: $(doc-prefix)/$(doc-dir)
282 282
 	$(INSTALL-DOC) AUTHORS $(doc-prefix)/$(doc-dir)
283 283
 	$(INSTALL-TOUCH) $(doc-prefix)/$(doc-dir)/NEWS
284 284
 	$(INSTALL-DOC) NEWS $(doc-prefix)/$(doc-dir)
285
+	$(INSTALL-TOUCH) $(doc-prefix)/$(doc-dir)/README 
286
+	$(INSTALL-DOC) README $(doc-prefix)/$(doc-dir)
287
+
288
+
289
+install-modules-doc: $(doc-prefix)/$(doc-dir)
285 290
 	-@for r in $(modules_basenames) "" ; do \
286 291
 		if [ -n "$$r" ]; then \
287 292
 			if [ -f modules/"$$r"/README ]; then \
... ...
@@ -293,8 +301,7 @@ install-doc: $(doc-prefix)/$(doc-dir)
293 293
 			fi ; \
294 294
 		fi ; \
295 295
 	done 
296
-	$(INSTALL-TOUCH) $(doc-prefix)/$(doc-dir)/README 
297
-	$(INSTALL-DOC) README $(doc-prefix)/$(doc-dir)
296
+
298 297
 
299 298
 install-man: $(man-prefix)/$(man-dir)/man8 $(man-prefix)/$(man-dir)/man5
300 299
 	$(INSTALL-TOUCH)  $(man-prefix)/$(man-dir)/man8/ser.8 
... ...
@@ -40,7 +40,7 @@ export makefile_defs
40 40
 VERSION = 0
41 41
 PATCHLEVEL = 8
42 42
 SUBLEVEL =   11
43
-EXTRAVERSION = rc6
43
+EXTRAVERSION = rc7
44 44
 
45 45
 RELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
46 46
 OS = $(shell uname -s | sed -e s/SunOS/solaris/ | tr "[A-Z]" "[a-z]")
... ...
@@ -10,6 +10,8 @@
10 10
 #              some ser make options (andrei)
11 11
 #  2003-06-27  changed to DH_COMPAT 4 (debian/compat) + other filenames
12 12
 #              & small fixes (andrei)
13
+#  2003-08-29  replaced modules-install with modules-install-all, to 
14
+#               install also the modules doc (andrei)
13 15
 
14 16
 
15 17
 # Uncomment this to turn on verbose mode.
... ...
@@ -95,23 +97,26 @@ install: build
95 95
 		cfg-prefix=$(CURDIR)/debian/ser \
96 96
 		cfg-target=/etc/ser/
97 97
 	# install only the mysql module
98
-	$(MAKE) install-modules modules="$(MYSQL_MOD_PATH)"  \
98
+	$(MAKE) install-modules-all modules="$(MYSQL_MOD_PATH)"  \
99 99
 		basedir=$(CURDIR)/debian/ser-mysql-module \
100 100
 		prefix=/usr \
101 101
 		cfg-prefix=$(CURDIR)/debian/ser-mysql-module \
102
-		cfg-target=/etc/ser/
102
+		cfg-target=/etc/ser/ \
103
+		doc-dir=share/doc/ser-mysql-module
103 104
 	#install only the jabber module
104
-	$(MAKE) install-modules modules="$(JABBER_MOD_PATH)"  \
105
+	$(MAKE) install-modules-all modules="$(JABBER_MOD_PATH)"  \
105 106
 		basedir=$(CURDIR)/debian/ser-jabber-module \
106 107
 		prefix=/usr \
107 108
 		cfg-prefix=$(CURDIR)/debian/ser-jabber-module \
108
-		cfg-target=/etc/ser/
109
+		cfg-target=/etc/ser/ \
110
+		doc-dir=share/doc/ser-jabber-module
109 111
 	#install only the radius modules
110
-	$(MAKE) install-modules modules="$(RADIUS_MOD_PATH)"  \
112
+	$(MAKE) install-modules-all modules="$(RADIUS_MOD_PATH)"  \
111 113
 		basedir=$(CURDIR)/debian/ser-radius-modules \
112 114
 		prefix=/usr \
113 115
 		cfg-prefix=$(CURDIR)/debian/ser-radius-modules \
114
-		cfg-target=/etc/ser/
116
+		cfg-target=/etc/ser/ \
117
+		doc-dir=share/doc/ser-radius-modules
115 118
 	#dh_movefiles
116 119
 
117 120