aboutsummaryrefslogtreecommitdiffstats
path: root/net/freeradius2/files/patch-doc::Makefile
blob: a465b250069175896981dd1d016bdfb0166ffe9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- doc/Makefile.orig   Sat Aug 13 00:41:24 2005
+++ doc/Makefile    Wed Oct  5 10:57:06 2005
@@ -17,14 +17,16 @@
    @rm -f *~
 
 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 file in *[!~]; do \
        if [ -f $$file -a $$file != Makefile ]; then \
-           $(INSTALL) -m 644 $$file $(R)$(datadir)/doc/freeradius-$(RADIUSD_VERSION); \
+           $(INSTALL) -m 644 $$file $(R)$(datadir)/doc/freeradius; \
        fi; \
    done
    @$(MAKE) $(MFLAGS) WHAT_TO_MAKE=$@ common
+endif
 
 common:
    @for dir in $(SUBDIRS); do \