deadpixi / sam

An updated version of the sam text editor.
Other
430 stars 46 forks source link

Clean up ssam install #113

Closed schragge closed 4 years ago

schragge commented 4 years ago

Please consider applying this patch:

diff --git a/Makefile b/Makefile
index 55aef4c..449c40a 100644
--- a/Makefile
+++ b/Makefile
@@ -33,8 +33,7 @@ install:
        cd sam; $(MAKE) install
        cd samterm; $(MAKE) install
        cd doc; $(MAKE) install
-       cp ssam $(BINDIR)
-       chmod +x $(BINDIR)/ssam
+       cd ssam; $(MAKE) install

 uninstall:
        @xdg-desktop-menu uninstall --mode $(MODE) deadpixi-sam.desktop || echo "unable to uninstall desktop entry"
diff --git a/ssam/Makefile b/ssam/Makefile
index 256b83e..bc86bf8 100644
--- a/ssam/Makefile
+++ b/ssam/Makefile
@@ -14,7 +14,7 @@ nuke: clean
 install:       ssam
        mkdir -p $(BINDIR)
        cp ssam $(BINDIR)
-       chmod +x $(BINDIR)
+       chmod +x $(BINDIR)/ssam

 uninstall:
deadpixi commented 4 years ago

Applied, thank you!