projects
/
eda-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d4744ed
)
Add missing include file during installation
author
Hugo Villeneuve
<hugo@hugovil.com>
Mon, 6 Jan 2014 17:04:17 +0000
(12:04 -0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Fri, 24 Jan 2014 03:54:32 +0000
(22:54 -0500)
bomgen/Makefile
patch
|
blob
|
history
diff --git
a/bomgen/Makefile
b/bomgen/Makefile
index
4f5dcbd
..
e196e5c
100644
(file)
--- a/
bomgen/Makefile
+++ b/
bomgen/Makefile
@@
-6,20
+6,21
@@
ifndef PREFIX
PREFIX=/usr
endif
PREFIX=/usr
endif
+SCRIPT = bomgen.php
INC_DIR = Bomgen
INC_DIR = Bomgen
-SCRIPT1 = bomgen.php
-SCRIPT2 = functions.inc.php
+INC_FILES = functions.inc.php refdes.inc.php
SYSCONFDIR=/etc
SYSCONFDIR=/etc
-
# Top-level rule, do nothing
all: $(SCRIPT)
install:
# Top-level rule, do nothing
all: $(SCRIPT)
install:
- install -D -m 755 $(SCRIPT
1) $(PREFIX)/bin/$(SCRIPT1)
+ install -D -m 755 $(SCRIPT
) $(PREFIX)/bin
install -d -m 755 $(PREFIX)/share/php/$(INC_DIR)
install -d -m 755 $(PREFIX)/share/php/$(INC_DIR)
- install -D -m 755 $(INC_DIR)/$(SCRIPT2) $(PREFIX)/share/php/$(INC_DIR)
+ for f in $(INC_FILES); do \
+ install -D -m 644 $(INC_DIR)/$${f} $(PREFIX)/share/php/$(INC_DIR); \
+ done
# Do nothing
clean:
# Do nothing
clean: