summaryrefslogtreecommitdiff
blob: 5375e1695851216ba2786537d010ad72cc2e9a2f (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
diff -Naur openl2tp-1.7.pppd/doc/Makefile openl2tp-1.7/doc/Makefile
--- openl2tp-1.7.pppd/doc/Makefile	2007-05-28 19:53:38.000000000 +0400
+++ openl2tp-1.7/doc/Makefile	2010-07-31 18:21:56.163449838 +0400
@@ -11,29 +11,24 @@
 MANSRC+=	$(MANSRC.5)
 endif
 
-all:		$(MANSRC:%=%.gz)
-
-%.gz: %
-		gzip --best -c $< > $@
+all:		$(MANSRC)
 
 clean:
-		-$(RM) $(MANSRC:%=%.gz)
+		-$(RM) $(MANSRC)
 
 install:	all
 		$(INSTALL) -d $(DESTDIR)/usr/share/man/man1
-ifeq ($(L2TP_FEATURE_RPC_MANAGEMENT),y)
-		$(INSTALL) $(MANSRC.1:%=%.gz) $(DESTDIR)/usr/share/man/man1
+		$(INSTALL) $(MANSRC.1) $(DESTDIR)/usr/share/man/man1
-endif
 		$(INSTALL) -d $(DESTDIR)/usr/share/man/man4
-		$(INSTALL) $(MANSRC.4:%=%.gz) $(DESTDIR)/usr/share/man/man4
+		$(INSTALL) $(MANSRC.4) $(DESTDIR)/usr/share/man/man4
 ifeq ($(L2TP_FEATURE_LOCAL_CONF_FILE),y)
 		$(INSTALL) -d $(DESTDIR)/usr/share/man/man5
-		$(INSTALL) $(MANSRC.5:%=%.gz) $(DESTDIR)/usr/share/man/man5
+		$(INSTALL) $(MANSRC.5) $(DESTDIR)/usr/share/man/man5
 endif
 		$(INSTALL) -d $(DESTDIR)/usr/share/man/man7
-		$(INSTALL) $(MANSRC.7:%=%.gz) $(DESTDIR)/usr/share/man/man7
+		$(INSTALL) $(MANSRC.7) $(DESTDIR)/usr/share/man/man7
 		$(INSTALL) -d $(DESTDIR)/usr/share/man/man8
-		$(INSTALL) $(MANSRC.8:%=%.gz) $(DESTDIR)/usr/share/man/man8
+		$(INSTALL) $(MANSRC.8) $(DESTDIR)/usr/share/man/man8
 
 TAGS: