2001-02-20 03:10:42 -05:00
|
|
|
|
|
|
|
$FreeBSD$
|
|
|
|
|
2001-03-20 12:04:45 -05:00
|
|
|
--- Makefile.install.UNIX.orig Sun Feb 25 01:10:47 2001
|
|
|
|
+++ Makefile.install.UNIX Tue Mar 20 18:55:36 2001
|
|
|
|
@@ -28,29 +28,27 @@
|
2001-02-20 03:10:42 -05:00
|
|
|
|
|
|
|
|
|
|
|
BIN_DIR = $(PREFIX)/bin
|
|
|
|
-ICONS_DIR = $(PREFIX)/share/icons
|
|
|
|
+ICONS_DIR = $(PREFIX)/share/$(BIN)/icons
|
|
|
|
DATA_DIR = $(PREFIX)/share/$(BIN)
|
|
|
|
MAN_DIR = $(PREFIX)/man/man1
|
|
|
|
|
|
|
|
install:
|
|
|
|
$(MKDIR) $(MKDIRFLAGS) $(BIN_DIR)
|
2001-03-20 12:04:45 -05:00
|
|
|
- $(INSTALL) $(INSTBINFLAGS) $(BIN) $(BIN_DIR)/$(BIN)
|
|
|
|
- $(INSTALL) $(INSTBINFLAGS) utils/manview.sh $(BIN_DIR)/manview
|
|
|
|
- $(INSTALL) $(INSTBINFLAGS) utils/manwrap.sh $(BIN_DIR)/manwrap
|
|
|
|
+ $(BSD_INSTALL_PROGRAM) $(BIN) $(BIN_DIR)/$(BIN)
|
|
|
|
+ $(BSD_INSTALL_SCRIPT) utils/manview.sh $(BIN_DIR)/manview
|
|
|
|
+ $(BSD_INSTALL_SCRIPT) utils/manwrap.sh $(BIN_DIR)/manwrap
|
|
|
|
|
|
|
|
- $(MKDIR) $(MKDIRFLAGS) $(DATA_DIR)
|
2001-02-20 03:10:42 -05:00
|
|
|
$(MKDIR) $(MKDIRFLAGS) $(DATA_DIR)/help
|
|
|
|
- $(COPY) $(COPYFLAGS) help/* $(DATA_DIR)/help
|
2001-03-20 12:04:45 -05:00
|
|
|
+ $(BSD_INSTALL_MAN) help/* $(DATA_DIR)/help
|
2001-02-20 03:10:42 -05:00
|
|
|
|
2001-03-20 12:04:45 -05:00
|
|
|
- $(MKDIR) $(MKDIRFLAGS) $(DATA_DIR)
|
2001-02-20 03:10:42 -05:00
|
|
|
$(MKDIR) $(MKDIRFLAGS) $(DATA_DIR)/templates
|
|
|
|
- $(COPY) $(COPYFLAGS) templates/* $(DATA_DIR)/templates
|
|
|
|
+ $(BSD_INSTALL_DATA) templates/* $(DATA_DIR)/templates
|
|
|
|
|
|
|
|
$(MKDIR) $(MKDIRFLAGS) $(MAN_DIR)
|
2001-03-20 12:04:45 -05:00
|
|
|
- $(INSTALL) $(INSTMANFLAGS) $(BIN).1.out $(MAN_DIR)/$(BIN).1
|
2001-02-20 03:10:42 -05:00
|
|
|
+ $(BSD_INSTALL_MAN) $(BIN).1.out $(MAN_DIR)/$(BIN).1
|
|
|
|
|
|
|
|
$(MKDIR) $(MKDIRFLAGS) $(ICONS_DIR)
|
|
|
|
- $(INSTALL) $(INSTDATFLAGS) $(BIN).xpm $(ICONS_DIR)
|
|
|
|
+ $(BSD_INSTALL_DATA) $(BIN).xpm $(ICONS_DIR)
|
|
|
|
|
|
|
|
@echo "-------------------------------------------------------------------------"
|
|
|
|
@echo "Program $(BIN) installed in:"
|