Skip to content

Commit

Permalink
Prevent completed .debs and git cruft from being packed into the sour…
Browse files Browse the repository at this point in the history
…ce deb
  • Loading branch information
al177 committed Jan 3, 2018
1 parent c0620dc commit 24c1ed8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ dkms:
echo "$(KVERS_UNAME)"
mkdir -p $(DKMS_PATH)
cp -r . $(DKMS_PATH)
-rm -rf $(DKMS_PATH)/.git
-rm $(DKMS_PATH)/.gitignore
-rm $(DKMS_PATH)/*deb
dkms add -m $(PACKAGE_NAME) -v $(PACKAGE_VERSION)
dkms build -m $(PACKAGE_NAME) -v $(PACKAGE_VERSION)

Expand Down
2 changes: 1 addition & 1 deletion dkms.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME="esp8089"
PACKAGE_VERSION="1.9.20171208"
PACKAGE_VERSION="1.9.20180103"
CLEAN="make clean"
MAKE[0]="make KVERS_UNAME=$kernelver"
BUILT_MODULE_NAME[0]="esp8089"
Expand Down

0 comments on commit 24c1ed8

Please sign in to comment.