summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2018-04-14 21:17:42 +0200
committerDaniel Carl <danielcarl@gmx.de>2018-04-14 21:17:42 +0200
commit366abadbd1ddecbc20891377911c86c77975594c (patch)
tree20ffa6bdf544f483296f7b100e4722b68001c2fe /Makefile
parent018e4051b1f8708a02e0d4d204870895f7dd4597 (diff)
Do not use to many variables in makefiles.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index dd9aa53..5bbd7ca 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
include config.mk
-all: $(SRCDIR).subdir-all
+all: src.subdir-all
options:
@echo "vimb build options:"
@@ -10,13 +10,13 @@ options:
@echo "EXTCFLAGS = $(EXTCFLAGS)"
@echo "CC = $(CC)"
-install: $(SRCDIR).subdir-all
+install: src.subdir-all
@# binary
install -d $(BINPREFIX)
- install -m 755 $(SRCDIR)/vimb $(BINPREFIX)/vimb
+ install -m 755 src/vimb $(BINPREFIX)/vimb
@# extension
install -d $(LIBDIR)
- install -m 644 $(SRCDIR)/webextension/$(EXTTARGET) $(LIBDIR)/$(EXTTARGET)
+ install -m 644 src/webextension/$(EXTTARGET) $(LIBDIR)/$(EXTTARGET)
@# man page
install -d $(MANPREFIX)/man1
@sed -e "s!VERSION!$(VERSION)!g" \
@@ -32,7 +32,7 @@ uninstall:
$(RM) $(LIBDIR)/$(EXTTARGET)
$(RM) $(DOTDESKTOPPREFIX)/vimb.desktop
-clean: $(SRCDIR).subdir-clean
+clean: src.subdir-clean
sandbox:
$(Q)$(MAKE) RUNPREFIX=$(CURDIR)/sandbox/usr PREFIX=/usr DESTDIR=./sandbox install