aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tsung/0005-Do-not-install-manpages-in-main-install.patch
blob: d87071a760977d7a388a2cc6ec6272bb2841937c (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
--- tsung-445d78213bb4360d78df3753b3e23e6a28d701f0/Makefile.in
+++ tsung-445d78213bb4360d78df3753b3e23e6a28d701f0/Makefile.in
@@ -211,6 +211,12 @@
 	-rm -f $(EBIN)/*.beam tsung.sh tsung.spec tsung.xml tsung.sh tsung-recorder.sh
 	-rm -f *.xml config.log src/test/*.xml src/test/usersdb.csv
 
+install_doc: tsung doc install_recorder install_controller $(CONFFILE)
+	install -d $(DESTDIR)$(MAN_DIR)
+	install -pm 0644 $(MANPAGES) $(DESTDIR)$(MAN_DIR)
+	install -d $(DESTDIR)$(CONFDIR)
+	install -pm 0644 $(CONFFILE) $(DESTDIR)$(CONFDIR)/
+
 install: tsung doc install_recorder install_controller $(CONFFILE)
 	-rm -f $(TMP)
 
@@ -230,10 +236,6 @@
 
 	install -pm 0644 $(SRC) $(DESTDIR)$(TARGETDIR)/src/
 
-# install the man page
-	install -d $(DESTDIR)$(MAN_DIR)
-	install -pm 0644 $(MANPAGES) $(DESTDIR)$(MAN_DIR)
-
 # create startup script
 	install -pm 0755 tsung.sh $(DESTDIR)$(SCRIPT)
 	install -pm 0755 tsung-recorder.sh $(DESTDIR)$(REC_SCRIPT)
@@ -244,9 +246,6 @@
 	install -d $(DESTDIR)$(SHARE_DIR)/tsung_plotter
 	install -pm 0644 $(TSUNG_PLOTTER_LIB) $(DESTDIR)$(LIBDIR)/tsung_plotter
 	install -pm 0644 $(TSUNG_PLOTTER_CONF) $(DESTDIR)$(SHARE_DIR)/tsung_plotter
-
-	install -d $(DESTDIR)$(CONFDIR)
-	install -pm 0644 $(CONFFILE) $(DESTDIR)$(CONFDIR)/
 
 	install -d $(DESTDIR)$(TEMPLATES_DIR)
 	install -d $(DESTDIR)$(TEMPLATES_DIR)/style