diff options
author | wl <wl> | 2006-12-08 21:22:07 +0000 |
---|---|---|
committer | wl <wl> | 2006-12-08 21:22:07 +0000 |
commit | dc3adb09736b2999e76bc8eb1e97e7ed3617be5c (patch) | |
tree | 74b8fc2fca0356c7d8b184fe792c1e14e48cfeba /Makefile.comm | |
parent | 86d033d1702b461ea5324061f2fd7e53b7138c2a (diff) | |
download | groff-dc3adb09736b2999e76bc8eb1e97e7ed3617be5c.tar.gz |
During installation, create soft link from <version> to `current' in
<datadir>/groff.
* Makefile.comm (install): Renamed to...
(do_install): This.
(prefix_must_exist): Removed. Code moved to Makefile.in.
* Makefile.in (TARGETS): Remove `install'.
(install): New target which first creates the directory given by
--prefix, then calling `make' to do the installation, and finishing
with the creation of the soft link.
Diffstat (limited to 'Makefile.comm')
-rw-r--r-- | Makefile.comm | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile.comm b/Makefile.comm index 60e03893..729d06b7 100644 --- a/Makefile.comm +++ b/Makefile.comm @@ -52,21 +52,17 @@ MANPAGES=$(MAN1) $(MAN5) $(MAN7) MANCLEAN=$(MANPAGES) fontsubdir=$(fontdir)/dev$(DEV) -all install install_bin install_data TAGS depend distfiles uninstall_sub: +all do_install install_bin install_data TAGS depend distfiles uninstall_sub: -install: prefix_must_exist install_bin install_data +do_install: install_bin install_data uninstall: uninstall_sub pure: .PHONY: all clean distclean mostlyclean realclean extraclean depend distfiles -.PHONY: install install_bin install_data prefix_must_exist +.PHONY: install install_bin install_data .PHONY: uninstall uninstall_sub .PHONY: pure -prefix_must_exist: - @test -d $(DESTDIR)$(prefix) \ - || $(mkinstalldirs) $(DESTDIR)$(prefix) - mostlyclean: -rm -f $(MOSTLYCLEANFILES) -rm -rf $(CLEANDIRADD) |