Browse code

serunix added.

Jan Janak authored on 09/03/2004 12:51:14
Showing 2 changed files
... ...
@@ -262,7 +262,7 @@ install-cfg: $(cfg-prefix)/$(cfg-dir)
262 262
 		fi
263 263
 #		$(INSTALL-CFG) etc/ser.cfg $(cfg-prefix)/$(cfg-dir)
264 264
 
265
-install-bin: $(bin-prefix)/$(bin-dir) utils/gen_ha1/gen_ha1
265
+install-bin: $(bin-prefix)/$(bin-dir) utils/gen_ha1/gen_ha1 utils/serunix/serunix
266 266
 		$(INSTALL-TOUCH) $(bin-prefix)/$(bin-dir)/ser 
267 267
 		$(INSTALL-BIN) ser $(bin-prefix)/$(bin-dir)
268 268
 		$(INSTALL-TOUCH)   $(bin-prefix)/$(bin-dir)/sc
... ...
@@ -272,10 +272,15 @@ install-bin: $(bin-prefix)/$(bin-dir) utils/gen_ha1/gen_ha1
272 272
 		$(INSTALL-BIN) scripts/ser_mysql.sh  $(bin-prefix)/$(bin-dir)
273 273
 		$(INSTALL-TOUCH)   $(bin-prefix)/$(bin-dir)/gen_ha1
274 274
 		$(INSTALL-BIN) utils/gen_ha1/gen_ha1 $(bin-prefix)/$(bin-dir)
275
+		$(INSTALL-TOUCH)   $(bin-prefix)/$(bin-dir)/serunix
276
+		$(INSTALL-BIN) utils/serunix/serunix $(bin-prefix)/$(bin-dir)
275 277
 
276 278
 utils/gen_ha1/gen_ha1:
277 279
 		cd utils/gen_ha1; $(MAKE) all
278 280
 
281
+utils/serunix/serunix:
282
+		cd utils/serunix; $(MAKE) all
283
+
279 284
 install-modules: modules $(modules-prefix)/$(modules-dir)
280 285
 	-@for r in $(modules_full_path) "" ; do \
281 286
 		if [ -n "$$r" ]; then \
... ...
@@ -322,7 +327,7 @@ install-modules-doc: $(doc-prefix)/$(doc-dir)
322 322
 
323 323
 install-man: $(man-prefix)/$(man-dir)/man8 $(man-prefix)/$(man-dir)/man5
324 324
 	$(INSTALL-TOUCH)  $(man-prefix)/$(man-dir)/man8/ser.8 
325
-	$(INSTALL-MAN)  ser.8 $(man-prefix)/$(man-dir)/man8
325
+	$(INSTALL-MAN)  ser.8 $(man-prefix)/$(man-dir)/man8/
326 326
 	$(INSTALL-TOUCH)  $(man-prefix)/$(man-dir)/man5/ser.cfg.5 
327 327
 	$(INSTALL-MAN)  ser.cfg.5 $(man-prefix)/$(man-dir)/man5
328 328
 
... ...
@@ -46,7 +46,7 @@ clean:
46 46
 			$(MAKE) -C $$r clean ; \
47 47
 		fi ; \
48 48
 	done
49
-	@if [ -n "$(modules)" ]; then cd utils/gen_ha1; $(MAKE) clean; fi
49
+	@if [ -n "$(modules)" ]; then cd utils/gen_ha1; $(MAKE) clean; cd ../serunix; $(MAKE) clean; fi
50 50
 
51 51
 .PHONY: proper
52 52
 .PHONY: distclean