envetor - install proto file properly

This commit is contained in:
ChunEon Park 2013-07-26 01:39:20 +09:00
parent 3f86a03c96
commit 9f58afb8e5
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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)))