aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f83df94..8cd2ea4 100644
--- a/Makefile
+++ b/Makefile
@@ -121,7 +121,9 @@ DISTDIR=libtermkey-$(VERSION)
distdir: all
mkdir __distdir
- cp *.c *.h *.3 LICENSE __distdir
+ cp *.c *.h LICENSE __distdir
+ mkdir __distdir/man
+ cp man/*.[37] __distdir/man
sed "s,@VERSION@,$(VERSION)," <termkey.pc.in >__distdir/termkey.pc.in
sed "/^# DIST CUT/Q" <Makefile >__distdir/Makefile
mv __distdir $(DISTDIR)