Skip to content

Commit

Permalink
makefil fiddles getting package to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Demo User committed Apr 11, 2018
1 parent 6efa5b9 commit 28dd70e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ LINKDIR := /etc/roboticscape
LINKNAME := link_to_startup_program

# prefix variable in case this is used to make a deb package
prefix := /usr
prefix ?= /usr



Expand All @@ -49,11 +49,11 @@ clean :

install:
$(MAKE)
@$(INSTALL) $(TARGETS) $(prefix)/bin/
@for f in $(TARGETS); do $(INSTALL) $$f $(prefix)/bin; echo $$f; done
@echo "Examples Install complete"

uninstall:
@for f in $(TARGETS); do $(RM) $(prefix)/$$f; done
@for f in $(TARGETS); do $(RM) $(prefix)/$$f;echo $$f; done
@echo "Examples Uninstall complete"


Expand Down
2 changes: 1 addition & 1 deletion library/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ INSTALL := install -m 755
INSTALLDIR := install -d -m 755

# prefix variable for making debian package
prefix ?= /usr/local
prefix ?= /usr



Expand Down

0 comments on commit 28dd70e

Please sign in to comment.