Skip to content

Commit

Permalink
Add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Mar 12, 2017
1 parent 5b8b9f5 commit 922649b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
install:
cp termux-apt-repo $(PREFIX)/bin/termux-apt-repo

.PHONY: install
2 changes: 1 addition & 1 deletion termux-apt-repo
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if len(sys.argv) == 3:
distribution_path = output_path + '/dists/' + DISTRIBUTION
component_path = distribution_path + '/' + COMPONENT
else:
sys.exit('Usage: termux-apt-repository <directory-with-debs> <directory-to-publish>')
sys.exit('Usage: termux-apt-repo <directory-with-debs> <apt-repository-directory>')

if not os.path.isdir(input_path):
sys.exit("'" + input_path + '" does not exist')
Expand Down

0 comments on commit 922649b

Please sign in to comment.