JUCE eselect modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

22 lines
528 B

#!/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