aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorproski <proski>2006-08-02 06:05:48 +0000
committerproski <proski>2006-08-02 06:05:48 +0000
commit3343f394e78650708db636195c38d47aec9ac108 (patch)
tree95ec18f822eeefe4103e4a5a1c35965a5fb024b3 /Makefile
parentf995e315d26208516015260d32f7190d70d7a7bb (diff)
Use at76_usb for tarball and ethtool, drop "v" from version
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f0347b7..8c6fb35 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ DISTFILES = $(SRCS) $(HDRS) Makefile README COPYING CHANGELOG
# get the version from at76c503.h
ifndef M
VERSION = $(shell sed -n 's/^\#define.*DRIVER_VERSION.*"\(.*\)".*$$/\1/p' at76c503.h)
-DISTNAME = at76c503-$(VERSION)
+DISTNAME = at76_usb-$(VERSION)
DISTDIR = $(DISTNAME)
endif
@@ -91,10 +91,11 @@ ChangeLog: CVS/Entries
cvs2cl
dist:
- [ -d $(DISTNAME) ] && rm -rf $(DISTNAME) || true
+ rm -rf $(DISTNAME)
mkdir $(DISTNAME)
cp -f $(DISTFILES) $(DISTNAME)
tar zcvf $(DISTNAME).tar.gz $(DISTNAME)
+ rm -rf $(DISTNAME)
rmmod:
-rmmod $(obj-m:%.o=%)