Fix 'make dist' target for new man/ subdir
This commit is contained in:
parent
6b256e961e
commit
429ecf0f1a
4
Makefile
4
Makefile
|
@ -121,7 +121,9 @@ DISTDIR=libtermkey-$(VERSION)
|
||||||
|
|
||||||
distdir: all
|
distdir: all
|
||||||
mkdir __distdir
|
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 "s,@VERSION@,$(VERSION)," <termkey.pc.in >__distdir/termkey.pc.in
|
||||||
sed "/^# DIST CUT/Q" <Makefile >__distdir/Makefile
|
sed "/^# DIST CUT/Q" <Makefile >__distdir/Makefile
|
||||||
mv __distdir $(DISTDIR)
|
mv __distdir $(DISTDIR)
|
||||||
|
|
Loading…
Reference in New Issue