Commit 16511abe authored by rdubner's avatar rdubner

Change 'make install' to use DESTDIR; get rid of executable permission on text files

parent e890c70d
......@@ -37,7 +37,11 @@ install:
$(MAKE) -C sfix install
$(MAKE) -C python install
$(MAKE) -C vsdistrib install
ifdef DESTDIR
install cobcd $(DESTDIR)/bin/
else
install cobcd /usr/local/bin/
endif
# copy cbl-gdb to cblgdb-x.y, tarball the copy, and delete the copy
.PHONY : package
......
......@@ -35,5 +35,9 @@ pregit:
.PHONY : install
install :
ifdef DESTDIR
sudo install $(project) $(DESTDIR)/bin/
else
sudo install $(project) /usr/local/bin/
endif
\ No newline at end of file
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
......@@ -30,5 +30,9 @@ pregit:
.PHONY : install
install :
ifdef DESTDIR
sudo install $(project) $(DESTDIR)/bin/
else
sudo install $(project) /usr/local/bin/
endif
\ No newline at end of file
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment