Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- install.inc:
- @(if [ -d $(AFTER_INC_DIR) ]; then \
- echo "$(RM) $(AFTER_INC_DIR)/*"; \
- $(RM) $(AFTER_INC_DIR)/*; \
- else \
- if [ -d $(INCLUDEDIR) ]; then \
- echo "$(MKDIR) $(AFTER_INC_DIR)"; \
- if $(MKDIR) $(AFTER_INC_DIR); then \
- echo " ">/dev/null; \
- else \
- echo "failed to create include directory: $(AFTER_INC_DIR)"; \
- fi; \
- else \
- echo "$(MKDIR) $(INCLUDEDIR)"; \
- if $(MKDIR) $(INCLUDEDIR); then \
- echo "$(MKDIR) $(AFTER_INC_DIR)"; \
- if $(MKDIR) $(AFTER_INC_DIR) >/dev/null; then \
- echo " ">/dev/null; \
- else \
- echo "failed to create include directory: $(AFTER_INC_DIR)"; \
- fi; \
- else \
- echo "failed to create include directory: $(INCLUDEDIR)"; \
- fi; \
- fi; \
- fi; \
- if [ -d $(AFTER_INC_DIR) ]; then \
- echo "installing libAfterImage headers using command - "; \
- echo " \"$(INSTALL_HEADER) <header> $(AFTER_INC_DIR)\" :"; \
- for file in $(LIB_INCS) ; do \
- echo -n "$$file "; \
- $(INSTALL_HEADER) $$file $(AFTER_INC_DIR); \
- done; \
- echo ""; echo "Done."; \
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement