aboutsummaryrefslogtreecommitdiff
path: root/net/freeradius2/files/patch-doc::Makefile
blob: 52667f1d81e761eb48b2ad3f2c52cc90f8b1ef0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- doc/Makefile.orig	Tue Dec 24 16:49:34 2002
+++ doc/Makefile	Wed Dec  3 13:56:45 2003
@@ -20,12 +20,14 @@
 	@rm -f include/*~ *~
 
 install:
+ifndef NOPORTDOCS
 	$(INSTALL) -d -m 755	$(R)$(datadir)/doc
-	$(INSTALL) -d -m 755	$(R)$(datadir)/doc/freeradius-$(RADIUSD_VERSION)
+	$(INSTALL) -d -m 755	$(R)$(datadir)/doc/freeradius
 	for i in $(DOCS) rlm_*; do \
-		$(INSTALL) -m 644 $$i $(R)$(datadir)/doc/freeradius-$(RADIUSD_VERSION); \
+		$(INSTALL) -m 644 $$i $(R)$(datadir)/doc/freeradius; \
 	done
 	@$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
+endif
 
 common:
 	@for dir in $(SUBDIRS); do \