[PATCH] build: add mingw to distributed package

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] build: add mingw to distributed package

Carlo Marcelo Arenas Belon
Signed-off-by: Carlo Marcelo Arenas Belon <[hidden email]>
---
 Makefile.am |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index a1944f6..717dec1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,6 +23,7 @@ MSVC6_FILES=config.h libConfuse.dsp libConfuse.dsw unistd.h
 MSVS_FILES=config.h msvs.net.sln unistd.h
 MSVS_CFGTEST_FILES=cfgtest.vcproj
 MSVS_LIBCONFUSE_FILES=libConfuse.vcproj
+MINGW_FILES=build.bat config.h Makefile
 
 add-windows-files:
  mkdir $(distdir)/windows
@@ -33,6 +34,7 @@ add-windows-files:
  mkdir $(distdir)/windows/msvs.net
  mkdir $(distdir)/windows/msvs.net/cfgtest
  mkdir $(distdir)/windows/msvs.net/libConfuse
+ mkdir $(distdir)/windows/mingw
 
  for f in $(BORLAND_FILES); do \
  cp -f $(top_srcdir)/windows/borland/$$f $(distdir)/windows/borland/; done
@@ -46,6 +48,9 @@ add-windows-files:
    cp -f $(top_srcdir)/windows/msvs.net/libConfuse/$$f $(distdir)/windows/msvs.net/libConfuse; done
  for f in $(MSVC6_FILES); do \
    cp -f $(top_srcdir)/windows/msvc6/libConfuse/$$f $(distdir)/windows/msvc6/libConfuse; done
+ for f in $(MINGW_FILES); do \
+   cp -f $(top_srcdir)/windows/mingw/$$f $(distdir)/windows/mingw; done
+
  cp $(top_srcdir)/examples/wincfgtest.c $(distdir)/examples
  cp $(top_srcdir)/examples/wincfgtest.conf $(distdir)/examples
  cp $(top_srcdir)/examples/wincfgtest.dev $(distdir)/examples
--
1.7.1.1


_______________________________________________
Confuse-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/confuse-devel
Reply | Threaded
Open this post in threaded view
|

[PATCH] build: promote `make zip` for generating zipped release packages

Carlo Marcelo Arenas Belon
avoids ambiguity, when dist-zip is enabled otherwise, since windows
releases must be generated using `make zip` instead to include all
windows specific files

Signed-off-by: Carlo Marcelo Arenas Belon <[hidden email]>
---
 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 717dec1..f177742 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -67,3 +67,4 @@ rpm: Makefile
  $(MAKE) dist
  rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz
 
+dist-zip: zip
--
1.7.1.1


_______________________________________________
Confuse-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/confuse-devel