Mercurial > dwindows
diff Makefile.in @ 2160:07f1366a724c
Rename config.h(.in) to dwconfig.h and install it with dwcompat.
Building modules that use dwcompat requires some of the defines in
dwconfig.h. On some platforms without it the opendir headers are
not included and cause build failures. Unix (Linux, BSD, Solaris
and Mac) are primarily affected.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 29 Sep 2020 22:49:04 +0000 |
parents | 37ce3e22ee1a |
children | 9f336ce185fd |
line wrap: on
line diff
--- a/Makefile.in Tue Sep 29 04:06:20 2020 +0000 +++ b/Makefile.in Tue Sep 29 22:49:04 2020 +0000 @@ -114,6 +114,7 @@ $(INSTALL) -d $(prefix)/lib; \ $(INSTALL) $(SYSCONF_LINK_TARGET2) $(prefix)/lib; \ $(INSTALL) $(srcdir)/dwcompat.h $(prefix)/include; \ + $(INSTALL) $(srcdir)/dwconfig.h $(prefix)/include; \ cd $(prefix)/lib; \ rm -f lib$(TARGET2).$(SOSUFFIX) lib$(TARGET2).$(SOSUFFIX).$(VER_MAJ); \ ln -sf $(SYSCONF_LINK_TARGET_SHARED2) lib$(TARGET2).$(SOSUFFIX); \ @@ -130,6 +131,7 @@ rm -f $(prefix)/bin/dwindows-config rm -f $(prefix)/bin/dwtest rm -f $(prefix)/include/dwcompat.h + rm -f $(prefix)/include/dwconfig.h rm -f $(prefix)/include/dw.h rm -f $(prefix)/share/applications/org.dbsoft.dwindows.dwtest.desktop rm -f $(prefix)/share/man/man1/dwindows-config.1.gz @@ -140,7 +142,7 @@ (cd tmp;tar zxvf ../../$(srcdir)/$(SRCDIR).tar.gz;cd $(SRCDIR);dpkg-buildpackage -rfakeroot;cd ..;ls -l) distclean: clean - rm -f config.status config.log config.h + rm -f config.status config.log dwconfig.h rm -f dwindows-config dwindows-config1 dwindows.pc dwindows1.pc rm -f org.dbsoft.dwindows.dwtest.desktop rm -f Makefile