summaryrefslogtreecommitdiffstats
path: root/contrib/groff/Makefile.cpg
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/groff/Makefile.cpg')
-rw-r--r--contrib/groff/Makefile.cpg11
1 files changed, 9 insertions, 2 deletions
diff --git a/contrib/groff/Makefile.cpg b/contrib/groff/Makefile.cpg
index 1b9f66f..4cb514f 100644
--- a/contrib/groff/Makefile.cpg
+++ b/contrib/groff/Makefile.cpg
@@ -1,6 +1,10 @@
# Makefile.cpg
-MAKEFILEPARTS=$(srcdir)/../Makefile.comm ../Makefile.cfg \
- $(srcdir)/Makefile.sub $(srcdir)/../Makefile.cpg $(srcdir)/Makefile.dep
+MAKEFILEPARTS=\
+ $(top_srcdir)/Makefile.comm \
+ $(top_builddir)/Makefile.cfg \
+ $(srcdir)/Makefile.sub \
+ $(top_srcdir)/Makefile.cpg \
+ Makefile.dep
all: $(PROG) $(MANPAGES)
@@ -18,3 +22,6 @@ distfiles: $(YTABC)
TAGS: TAGS_src
TAGS_src: $(CCSRCS) $(CSRCS) $(GRAM) $(HDRS)
Makefile: $(MAKEFILEPARTS)
+Makefile.dep:
+ touch Makefile.dep
+$(MANPAGES): $(top_srcdir)/VERSION $(top_srcdir)/REVISION
OpenPOWER on IntegriCloud