Install documentation under ${prefix}/share/doc/freeradius
authornbk <nbk>
Sat, 4 Feb 2006 13:35:05 +0000 (13:35 +0000)
committernbk <nbk>
Sat, 4 Feb 2006 13:35:05 +0000 (13:35 +0000)
doc/Makefile
doc/rfc/Makefile

index e07266f..8eb4eb2 100644 (file)
@@ -18,10 +18,10 @@ clean:
 
 install:
        $(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
index 8426724..471f2c1 100644 (file)
@@ -1,7 +1,13 @@
+#
+# Makefile
+#
+# Version:     $Id$
+#
+
 include ../../Make.inc
 
 RFC    = rfc2548.txt rfc2865.txt rfc2866.txt rfc2867.txt rfc2868.txt \
-         rfc2869.txt rfc3162.txt 
+         rfc2869.txt rfc3162.txt
 
 all:
 
@@ -16,7 +22,9 @@ clean:
        rm -f refs rfc*.html *~ .rewrite index.html
 
 install:
-       $(INSTALL) -d -m 755    $(R)$(datadir)/doc/freeradius-$(RADIUSD_VERSION)/rfc
-       for i in `ls -1 *.txt *.html`; do \
-               $(INSTALL) -m 644 $$i $(R)$(datadir)/doc/freeradius-$(RADIUSD_VERSION)/rfc; \
+       $(INSTALL) -d -m 755 $(R)$(datadir)/doc/freeradius/rfc
+       for file in `ls -1 *.txt *.html`; do \
+               $(INSTALL) -m 644 $$file $(R)$(datadir)/doc/freeradius/rfc; \
        done
+
+.PHONY: all clean install html