New installation mechanism

This commit is contained in:
ceriel
1991-08-26 16:50:25 +00:00
parent a9c094851c
commit c2caead0c8
29 changed files with 1106 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
Makefile
proto.make
idf.3
idf_pkg.body
idf_pkg.spec

View File

@@ -0,0 +1,26 @@
# $Header$
#PARAMS do not delete this line!
SRC_DIR = $(SRC_HOME)/modules/src/idf
MOD_DIR = $(TARGET_HOME)/modules
all:
install: all
cp $(SRC_DIR)/idf_pkg.body $(MOD_DIR)/pkg/idf_pkg.body
cp $(SRC_DIR)/idf_pkg.spec $(MOD_DIR)/pkg/idf_pkg.spec
cp $(SRC_DIR)/idf.3 $(MOD_DIR)/man/idf.3
cmp: all
-cmp $(SRC_DIR)/idf_pkg.body $(MOD_DIR)/pkg/idf_pkg.body
-cmp $(SRC_DIR)/idf_pkg.spec $(MOD_DIR)/pkg/idf_pkg.spec
-cmp $(SRC_DIR)/idf.3 $(MOD_DIR)/man/idf.3
pr:
@pr $(SRC_DIR)/proto.make $(SRC_DIR)/idf_pkg.spec $(SRC_DIR)/idf_pkg.body
opr:
make pr | opr
clean: