Skip to content

Commit c603c83

Browse files
committed
Substitude binary name in more places
1 parent 69fc9c7 commit c603c83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ clean:
2929

3030
# Installation
3131
install: $(PROG)
32-
cp abbayev2 $(DESTDIR)$(PREFIX)/bin/
32+
cp $(PROG) $(DESTDIR)$(PREFIX)/bin/
3333
cp abbaye.desktop $(DESTDIR)$(PREFIX)/share/applications
3434
mkdir -p $(DESTDIR)$(PREFIX)/share/abbayev2/sounds
3535
cp ./sounds/* $(DESTDIR)$(PREFIX)/share/abbayev2/sounds
@@ -40,7 +40,7 @@ install: $(PROG)
4040
cp -r ./graphics/* $(DESTDIR)$(PREFIX)/share/abbayev2/graphics
4141

4242
uninstall:
43-
rm $(DESTDIR)$(PREFIX)/bin/abbayev2
43+
rm $(DESTDIR)$(PREFIX)/bin/$(PROG)
4444
rm $(DESTDIR)$(PREFIX)/share/applications/abbaye.desktop
4545
rm $(DESTDIR)$(PREFIX)/share/pixmaps/abbaye.png
4646
rm -rf $(DESTDIR)$(PREFIX)/share/abbayev2

0 commit comments

Comments
 (0)