Use cp_dir to copy directories
This commit is contained in:
parent
e00c0aa591
commit
b23ed92d7e
|
@ -7,8 +7,9 @@ SRC_DIR = $(SRC_HOME)/lang/cem/libcc.ansi
|
|||
all:
|
||||
|
||||
install:
|
||||
-mkdir $(TARGET_HOME)/include/tail_ac
|
||||
( cd $(SRC_DIR)/headers; tar cf - `cat LIST` ) | ( cd $(TARGET_HOME)/include/tail_ac ; tar xf - )
|
||||
if [ $(DO_MACHINE_INDEP) = y ] ; \
|
||||
then cp_dir $(SRC_DIR)/headers $(TARGET_HOME)/include/tail_ac ; \
|
||||
fi
|
||||
|
||||
clean:
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@ head:
|
|||
$(MACH) $(MACHFL) -c -I$(TARGET_HOME)/h head_ac.e
|
||||
|
||||
copy:
|
||||
( cd $(SRC_DIR) ; tar cf - LIST `cat LIST` head_ac.e ) | \
|
||||
tar xf -
|
||||
cp_dir $(SRC_DIR) .
|
||||
for i in `cat LIST` ; \
|
||||
do cd $$i ; \
|
||||
make `cat LIST` ; \
|
||||
|
|
Loading…
Reference in a new issue