23 lines
528 B
Makefile
23 lines
528 B
Makefile
#!/usr/bin/make
|
|
|
|
RANLIB ?= ranlib
|
|
|
|
PREFIX ?= /usr
|
|
DATAROOTDIR ?= $(PREFIX)/share
|
|
MODULESDIR ?= $(DATAROOTDIR)/eselect/modules
|
|
|
|
DEBUG ?= 0
|
|
VERSION ?= 1.0.0
|
|
|
|
install:
|
|
mkdir -p $(DESTDIR)$(MODULESDIR)
|
|
install projucer.eselect $(DESTDIR)$(MODULESDIR)
|
|
sed -i "s/@V@/$(VERSION)/" $(DESTDIR)$(MODULESDIR)/projucer.eselect
|
|
install juceaide.eselect $(DESTDIR)$(MODULESDIR)
|
|
sed -i "s/@V@/$(VERSION)/" $(DESTDIR)$(MODULESDIR)/juceaide.eselect
|
|
|
|
uninstall:
|
|
rm -f $(DESTDIR)$(MODULESDIR)/projucer/eselect
|
|
|
|
.PHONY: all install uninstall
|