rendered paste body# targets
all: $(OBJECTS_DIR) $(BUILD_FILE) $(TARGET) $(LIBS)
plugins: $(OBJECTS_DIR) $(LIBS_OBJECTS)
install: all install_plugins
@echo "installing $(TARGET) to prefix '$(PREFIX)'"
@install -d -m 755 $(BIN_DIR)
@install -m 755 $(TARGET) $(BIN_DIR)
@install -d $(ICON_DIR)
@for file in `ls icons/ |grep -v svn`; do \
install -c -m 644 icons/$$file $(ICON_DIR); \
done
@install -d $(DOC_DIR)
@for file in `ls docs/ |grep -v svn |grep -v desktop_environment |grep -v api`; do \
install -c -m 644 docs/$$file $(DOC_DIR); \
done
ifeq ($(XGD_INTEGRATION), 1)
@install -d $(XGD_DESKTOP_DIR)
@install -c -m 644 docs/desktop_environment/emelfm2.desktop \
$(XGD_DESKTOP_DIR)
@install -d $(XGD_APPLICATION_DIR)
@install -c -m 644 docs/desktop_environment/emelfm2.applications \
$(XGD_APPLICATION_DIR)
endif