summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-04-02 00:01:58 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:14 -0700
commit487c1b35ba1d0a2f76d99dc9b9454e2895f915bb (patch)
treeb348c27e2e1eb8b924033ea5d89caaa6868fdb3f /Makefile
parent326e0876e40eb7559e7fbbde47785685013cb624 (diff)
[PATCH] switch to generate the man pages during the normal build, not during the install.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 01fb2a4486..d82fea0690 100644
--- a/Makefile
+++ b/Makefile
@@ -261,7 +261,7 @@ $(DAEMON).o: $(GEN_HEADERS)
$(SENDER).o: $(GEN_HEADERS)
$(STARTER).o: $(GEN_HEADERS)
-$(ROOT): $(ROOT).o $(OBJS) $(HEADERS) $(LIBC)
+$(ROOT): $(ROOT).o $(OBJS) $(HEADERS) $(LIBC) $(GEN_MANPAGES)
$(LD) $(LDFLAGS) -o $@ $(CRT0) udev.o $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
$(STRIPCMD) $@
@@ -368,7 +368,7 @@ uninstall-dev.d:
- rmdir $(dev_ddir)default
- rmdir $(dev_ddir)
-install-man: $(GEN_MANPAGES)
+install-man:
$(INSTALL_DATA) -D udev.8 $(DESTDIR)$(mandir)/man8/udev.8
$(INSTALL_DATA) -D udevinfo.8 $(DESTDIR)$(mandir)/man8/udevinfo.8
$(INSTALL_DATA) -D udevtest.8 $(DESTDIR)$(mandir)/man8/udevtest.8