forked from enlightenment/enventor
envetor - install proto file properly
This commit is contained in:
parent
3f86a03c96
commit
9f58afb8e5
3
Makefile
3
Makefile
|
@ -13,7 +13,6 @@ OBJECTS=$(SRCDIR)/main.o \
|
|||
$(SRCDIR)/dummy_obj.o
|
||||
EDJS=$(EDJDIR)/enventor.edj
|
||||
BINARY=enventor
|
||||
DIRNAME=enventor
|
||||
|
||||
PREFIX=/usr/local
|
||||
BINDIR=$(PREFIX)/bin
|
||||
|
@ -54,6 +53,8 @@ install: $(BINARY)
|
|||
@install data/images/* $(DATADIR)/images
|
||||
@mkdir -p $(DATADIR)/docs
|
||||
@install README $(DATADIR)/docs
|
||||
@mkdir -p $(DATADIR)/.proto
|
||||
@install data/.proto/proto.edc $(DATADIR)/.proto
|
||||
|
||||
uninstall:
|
||||
rm -rf $(DATADIR)
|
||||
|
|
|
@ -118,7 +118,7 @@ edc_proto_setup(option_data *od)
|
|||
Eina_Bool success = EINA_TRUE;
|
||||
|
||||
char buf[PATH_MAX];
|
||||
snprintf(buf, sizeof(buf), "%s/data/.proto/proto.edc",
|
||||
snprintf(buf, sizeof(buf), "%s/.proto/proto.edc",
|
||||
elm_app_data_dir_get());
|
||||
|
||||
if (!ecore_file_exists(option_edc_path_get(od)))
|
||||
|
|
Loading…
Reference in New Issue