blob: a8b7d728cc41e90ddf81837301ff5f653b28b55e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Rules for building and installing .h files for glean.
# See template.mak for configurable variables and usage information.
include $(GLEAN_ROOT)/make/dep.mak
all_here:
clobber_here: clean_here
test_here:
@if [ -d Test ]; then (cd Test; $(MAKE) test); fi
# Note: The tricky test in the following commands ensures correct
# results if the destination file does not exist.
install_here:
@if [ ! -d $(HDST) ]; then $(MKDIR) $(HDST); fi
for t in $(HTARGET); do \
if [ ! $(HDST)/$$t -nt $$t ]; then \
$(RM) -f $(HDST)/$$t; \
$(INSTALL) -m 0644 $$t $(HDST); \
fi; \
done
|