Fix 'make dist' target for new man/ subdir

This commit is contained in:
Paul LeoNerd Evans 2012-01-22 15:52:19 +00:00
parent 6b256e961e
commit 429ecf0f1a

View File

@ -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)