From 83c7c3f6681d2b7d29dd1f068dbb6700b3af7818 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Wed, 15 Jul 2009 20:52:35 +0100 Subject: Cope with building distdir at minor versions .3 (otherwise it clashes with *.3) --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e1c75de..a1f9ad0 100644 --- a/Makefile +++ b/Makefile @@ -87,10 +87,11 @@ termkey.h: termkey.h.in Makefile DISTDIR=libtermkey-$(VERSION_MAJOR).$(VERSION_MINOR) distdir: all - mkdir $(DISTDIR) - cp *.c *.h *.3 $(DISTDIR) - sed "s,@VERSION@,$(VERSION)," $(DISTDIR)/termkey.pc.in - sed "/^# DIST CUT/Q" $(DISTDIR)/Makefile + mkdir __distdir + cp *.c *.h *.3 __distdir + sed "s,@VERSION@,$(VERSION)," __distdir/termkey.pc.in + sed "/^# DIST CUT/Q" __distdir/Makefile + mv __distdir $(DISTDIR) TARBALL=$(DISTDIR).tar.gz -- cgit v1.2.3-70-g09d2