Commit Graph

15 Commits

Author SHA1 Message Date
Simon McVittie
33bb8a85ec build: Move Makefile-*.am.inc up one level
This takes them out of the directory that is "owned" by the subproject,
which will not be ignoring our Flatpak-specific generated files in
its .gitignore, and puts them in a directory that is "owned" by Flatpak,
which can ignore them.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-08-26 11:50:05 +01:00
a1346054
d6e93b7ee0 bash: fix issues identified through shellcheck
Signed-off-by: a1346054 <36859588+a1346054@users.noreply.github.com>
2021-08-23 12:19:03 +02:00
Simon McVittie
0b12aff826 build: Move submodules into subprojects directory
This is a step towards being able to build Flatpak using Meson, which
is becoming widely available even in LTS distributions. Meson's
built-in support for subprojects expects to find them in ./subprojects
at top level.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-04-06 10:21:29 +02:00
Matthias Clasen
66167ba5e8 Add the new submodule to autogen.sh
This is not perfect, but will make fresh checkouts work
as well as before.

Closes: #2121
Approved by: alexlarsson
2018-09-24 07:55:20 +00:00
Matthias Clasen
3c52321a40 Use upstream gettext
Drop the intltool dependency that was recently added, and use
upstream gettext and its its features for the same purpose.
Note that polkit currently does not install .its files (I've
sent a patch). Until that is in place, this change has the
effect of installing the untranslated policy file.
2016-07-15 11:58:46 -04:00
Simon McVittie
ccaa7428ae autogen.sh: rely on VPATH when generating Makefile-*.am.inc
This avoids hard-coding the (potentially absolute) srcdir used at
autogen time into the build system. It's fine for an Automake build
system to use relative paths in dependencies and rely on them being
interpreted as relative to ${srcdir} even though the current working
directory is ${buildddir}, because of make's "VPATH" feature, and we
do it all the time in the handwritten parts of the build system.

In particular, this (finally) makes distcheck work.

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-06-12 10:35:33 +01:00
Colin Walters
99239b6e51 build: autogen.sh: Use mkdir -p to suppress warning
It's minor but hey, warnings stand out.
2016-05-31 15:05:34 -04:00
Matthias Clasen
b5a997df43 autogen.sh: Look for bubblewrap submodule too
autogen.sh had code to init submodules if the libglnx directory
is empty. We should also check for bubblewrap now.
2016-05-03 17:25:54 -04:00
Alexander Larsson
ee7be7f82d Build bwrap 2016-04-29 15:38:23 +02:00
Alexander Larsson
f340105b4c Add gettext support to build 2016-04-25 18:59:17 +02:00
Emmanuele Bassi
f23090a615 Generate the API reference for libxdg-app
We use the good old gtk-doc.
2015-12-04 15:00:35 +00:00
Emmanuele Bassi
19c9a25be6 build: Switch to olddir after autoreconf
Otherwise this won't work:

  $ mkdir _build && cd _build
  $ ../autogen.sh

As `autoreconf` won't find configure.ac.
2015-12-04 01:14:53 +00:00
Colin Walters
0a6d02ec78 autogen: Fix git submodules
We don't have bsdiff here.
2015-08-31 09:40:45 +02:00
Alexander Larsson
22ac447fc6 Import libglnx 2015-03-20 15:57:22 +01:00
Alexander Larsson
a640cd365b Initial version 2014-12-17 15:28:07 +01:00