]> git.sur5r.net Git - openldap/commitdiff
Fixed a small mistake in the last commit, as well as adding a clean-common to remove...
authorBen Collins <bcollins@openldap.org>
Sun, 28 Feb 1999 17:08:54 +0000 (17:08 +0000)
committerBen Collins <bcollins@openldap.org>
Sun, 28 Feb 1999 17:08:54 +0000 (17:08 +0000)
build/man.mk

index 53d97f4b4af93fc404b0f946f2f1f37a122c22c6..2f39e7ccb22cd151307d86dff1021741addcd49b 100644 (file)
@@ -35,11 +35,12 @@ install-common:
                if [ -f "$$page.links" ]; then \
                        for link in `$(CAT) $$page.links`; do \
                                echo "installing $(MANDIR)/$$link as link to $$page"; \
-                               $(RM) $(INSTDIR)/$$link $(MANDIR)/$$link; \
-                               $(LN_S) -sf $$page $(MANDIR)/$$link; \
+                               $(LN_S) -f $$page $(MANDIR)/$$link; \
                        done; \
                fi; \
        done; \
-       $(RM) $$TMPMAN
 
-Makefile: $(top_srcdir)/build/lib.mk
+clean-common:   FORCE
+       $(RM) *.tmp all-common
+
+Makefile: $(top_srcdir)/build/man.mk