File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -2139,8 +2139,13 @@ install-local::
2139
2139
$(Verb ) $(MKDIR ) $(DESTDIR )$(PROJ_includedir )
2140
2140
$(Verb ) if test -d " $( PROJ_SRC_ROOT) /include" ; then \
2141
2141
cd $(PROJ_SRC_ROOT ) /include && \
2142
- for hdr in ` find . -type f ' !' ' (' -name ' *~' \
2143
- -o -name ' .#*' -o -name ' *.in' ' )' -print | grep -v CVS | \
2142
+ for hdr in ` find . -type f \
2143
+ ' (' -name LICENSE.TXT \
2144
+ -o -name ' *.def' \
2145
+ -o -name ' *.h' \
2146
+ -o -name ' *.inc' \
2147
+ -o -name ' *.td' \
2148
+ ' )' -print | grep -v CVS | \
2144
2149
grep -v .svn` ; do \
2145
2150
instdir=` dirname " $( DESTDIR) $( PROJ_includedir) /$$ hdr" ` ; \
2146
2151
if test \! -d " $$ instdir" ; then \
@@ -2153,7 +2158,19 @@ install-local::
2153
2158
ifneq ($(PROJ_SRC_ROOT ) ,$(PROJ_OBJ_ROOT ) )
2154
2159
$(Verb) if test -d "$(PROJ_OBJ_ROOT)/include" ; then \
2155
2160
cd $(PROJ_OBJ_ROOT)/include && \
2156
- for hdr in `find . -type f -print | grep -v CVS` ; do \
2161
+ for hdr in `find . -type f \
2162
+ '(' -name LICENSE.TXT \
2163
+ -o -name '*.def' \
2164
+ -o -name '*.h' \
2165
+ -o -name '*.inc' \
2166
+ -o -name '*.td' \
2167
+ ')' -print | grep -v CVS | \
2168
+ grep -v .svn` ; do \
2169
+ instdir=`dirname "$(DESTDIR)$(PROJ_includedir)/$$hdr"` ; \
2170
+ if test \! -d "$$instdir" ; then \
2171
+ $(EchoCmd) Making install directory $$instdir ; \
2172
+ $(MKDIR) $$instdir ;\
2173
+ fi ; \
2157
2174
$(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
2158
2175
done ; \
2159
2176
fi
You can’t perform that action at this time.
0 commit comments