Skip to content

Commit

Permalink
Added Makefile targets to create the Debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Aug 13, 2022
1 parent 5a6114a commit fe7f880
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ prefix=/usr/local

all:

deb:
fakeroot dpkg-buildpackage -uc -b

deb_clean:
fakeroot debian/rules clean

install:
install -D kicad_pcb-diff.py $(DESTDIR)$(prefix)/bin/kicad_pcb-diff.py
install -D kicad_pcb-git-diff.py $(DESTDIR)$(prefix)/bin/kicad_pcb-git-diff.py
Expand All @@ -17,5 +23,4 @@ uninstall:
-rm -f $(DESTDIR)$(prefix)/bin/kicad_pcb-git-diff.py
-rm -f $(DESTDIR)$(prefix)/bin/kicad_pcb-diff-init.py

.PHONY: all install clean distclean uninstall

.PHONY: all install clean distclean uninstall deb deb_clean

0 comments on commit fe7f880

Please sign in to comment.