mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Added support for building Debian packages for projects without autotools.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@37843 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ff88759bb4
commit
49741972f4
2 changed files with 7 additions and 1 deletions
|
@ -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 <ivan@vucica.net>
|
||||
|
||||
|
|
|
@ -306,7 +306,12 @@ echo "3.0 (quilt)" > "${destination}"/source/format
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue