now installs properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c058d77142
commit
a665764c39
@ -48,25 +48,31 @@ install::
|
||||
@echo " "
|
||||
@echo " Creating directories.."
|
||||
@$(WXBASEDIR)/mkinstalldirs \
|
||||
/usr/local/include/wx \
|
||||
/usr/local/include/wx/gtk \
|
||||
/usr/local/include/wx/common \
|
||||
/usr/local/include/wx/protocol \
|
||||
/usr/local/include/wx/generic
|
||||
@prefix@/include/wx \
|
||||
@prefix@/include/wx/gtk \
|
||||
@prefix@/include/wx/common \
|
||||
@prefix@/include/wx/generic \
|
||||
@prefix@/include/wx/protocol \
|
||||
@echo " Copying headers from /include/wx"
|
||||
@cd $(WXBASEDIR)/include/wx ; \
|
||||
$(INSTALL) -d $(includedir)/wx ; \
|
||||
for f in *.h ; do \
|
||||
rm -f $(includedir)/wx/$$f ; \
|
||||
$(INSTALL_DATA) $$f $(includedir)/wx/$$f ; \
|
||||
done
|
||||
@echo " Copying headers from /include/wx/gtk"
|
||||
@cd $(WXBASEDIR)/include/wx/gtk ; \
|
||||
$(INSTALL) -d $(includedir)/wx/gtk ; \
|
||||
for f in *.h ; do \
|
||||
rm -f $(includedir)/wx/gtk/$$f ; \
|
||||
$(INSTALL_DATA) $$f $(includedir)/wx/gtk/$$f ; \
|
||||
done
|
||||
done ; \
|
||||
$(INSTALL) -d $(libdir) ;\
|
||||
mv $(includedir)/wx/gtk/setup.h $(libdir)/wxsetup.h ;\
|
||||
ln -s $(libdir)/wxsetup.h $(includedir)/wx/gtk/setup.h
|
||||
@echo " Copying headers from /include/wx/generic"
|
||||
@cd $(WXBASEDIR)/include/wx/generic ; \
|
||||
$(INSTALL) -d $(includedir)/wx/generic ; \
|
||||
for f in *.h ; do \
|
||||
rm -f $(includedir)/wx/generic/$$f ; \
|
||||
$(INSTALL_DATA) $$f $(includedir)/wx/generic/$$f ; \
|
||||
@ -79,6 +85,7 @@ install::
|
||||
done
|
||||
@echo " Copying wx-config"
|
||||
@cd $(WXBASEDIR) ; \
|
||||
$(INSTALL) -d $(bindir) ;\
|
||||
rm -f $(bindir)/wx-config ; \
|
||||
$(INSTALL_PROGRAM) wx-config $(bindir)/wx-config
|
||||
@echo " Copying static library"
|
||||
@ -144,4 +151,4 @@ lexer.c: ../common/lexer.l
|
||||
@$(RM) lexer.l
|
||||
|
||||
clean::
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user