aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-22 15:52:19 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-22 15:52:19 +0000
commit429ecf0f1a0103c2bccdb74bf19c76f98e88c6fe (patch)
tree13d23d588ad336d1dd105b7fd64ca180e8eb8c2d /Makefile
parent6b256e961e4bad822ae45f0e95c927f267ffa029 (diff)
downloadtermo-429ecf0f1a0103c2bccdb74bf19c76f98e88c6fe.tar.gz
termo-429ecf0f1a0103c2bccdb74bf19c76f98e88c6fe.tar.xz
termo-429ecf0f1a0103c2bccdb74bf19c76f98e88c6fe.zip
Fix 'make dist' target for new man/ subdir
Diffstat (limited to 'Makefile')
-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)