summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b750188..e10f8d1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
1NAME = bcm5974 1NAME = bcm5974
2VERSION = 0.99 2VERSION = 0.99
3SRC = usr/src 3SRC = usr/src
4ETC = etc/modprobe.d
4 5
5TARBALL = $(NAME)-$(VERSION).dkms.tar.gz 6TARBALL = $(NAME)-$(VERSION).dkms.tar.gz
6PATCH = ./scripts/patch-name-version.sh $(NAME) $(VERSION) 7PATCH = ./scripts/patch-name-version.sh $(NAME) $(VERSION)
@@ -18,7 +19,9 @@ distclean: clean
18 19
19install: $(SRC)/$(TARBALL) 20install: $(SRC)/$(TARBALL)
20 install -d "$(DESTDIR)/$(SRC)" 21 install -d "$(DESTDIR)/$(SRC)"
21 (cd $(SRC); install -m 644 $(NAME)-$(VERSION).dkms.tar.gz "$(DESTDIR)/$(SRC)") 22 install -d "$(DESTDIR)/$(ETC)"
23 install -m 644 $(SRC)/$(NAME)-$(VERSION).dkms.tar.gz "$(DESTDIR)/$(SRC)"
24 install -m 644 $(ETC)/$(NAME) "$(DESTDIR)/$(ETC)"
22 25
23bump: 26bump:
24 $(PATCH) debian/postinst 27 $(PATCH) debian/postinst