summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 7389323..2159c4c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -29,9 +29,9 @@ sessreg_SOURCES = \
XORGRELSTRING = @PACKAGE_STRING@
XORGMANNAME = X Version 11
-sessreg.1: sessreg.man
+sessreg.1: $(srcdir)/sessreg.man
sed 's/__xorgversion__/"$(XORGRELSTRING)" "$(XORGMANNAME)"/' \
- < sessreg.man > sessreg.1
+ < $(srcdir)/sessreg.man > sessreg.1
man1_MANS = sessreg.1
CLEANFILES = $(man1_MANS)