freebsd-ports/net/freeradius2/files/patch-doc::Makefile
Thomas Gellekum 4e343be25b Add PostgreSQL support; support NOPORTDOCS.
PR:		59921
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
2003-12-09 10:19:25 +00:00

19 lines
596 B
Text

--- 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 \