Author: ivucica
Date: Tue May  6 04:28:22 2014
New Revision: 37843

URL: http://svn.gna.org/viewcvs/gnustep?rev=37843&view=rev
Log:
Added support for building Debian packages for projects without autotools.

Modified:
    tools/make/trunk/ChangeLog
    tools/make/trunk/bake_debian_files.sh

Modified: tools/make/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/ChangeLog?rev=37843&r1=37842&r2=37843&view=diff
==============================================================================
--- tools/make/trunk/ChangeLog  (original)
+++ tools/make/trunk/ChangeLog  Tue May  6 04:28:22 2014
@@ -28,12 +28,13 @@
        Depending on the method, tarball may be placed in the current
        or parent directory, so we detect that (and prefer the current
        directory).
-       * bake_debian_files: Now defaulting to target_arch=any so that
+       * bake_debian_files.sh: Now defaulting to target_arch=any so that
        the package gets built on all platforms when uploaded on Launchpad,
        instead of detecting an arch from gnustep-make and burning that
        arch into the source package.
        Added support for TARBALL_VERSION.
        Fixed a 'command not found' error.
+       Added support for projects without autotools.
 
 2014-05-05  Ivan Vucica <[email protected]>
 

Modified: tools/make/trunk/bake_debian_files.sh
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/bake_debian_files.sh?rev=37843&r1=37842&r2=37843&view=diff
==============================================================================
--- tools/make/trunk/bake_debian_files.sh       (original)
+++ tools/make/trunk/bake_debian_files.sh       Tue May  6 04:28:22 2014
@@ -306,7 +306,12 @@
 cat > "${destination}"/rules << _EOF
 #!/usr/bin/make -f
 include /usr/share/cdbs/1/rules/debhelper.mk
+ifneq (\$(wildcard configure),)
 include /usr/share/cdbs/1/class/autotools.mk
+else
+include /usr/share/cdbs/1/class/makefile.mk
+DEB_MAKE_INSTALL_TARGET := install 
DESTDIR=\$(CURDIR)/debian/${deb_lowercase_package_name}
+endif
 
 DEB_BUILD_PARALLEL = 1
 


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to