Because the directory timestamp depends on the file insise, this rule
cause a second rebuild. Let's just silently create the directory
when we require it.
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
At the moment, packaging multiple layout is a bit of a mess, because
there is no easy way to build multiple layouts binary in a row. The
clean task also drop the binary outpus. And the dependency checking is
somehow incorrect. It reuses the same config.h while building the
following layout.
To solve this, we now build config.h and %.o outputs in a builddir,
one per layout.
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
* Rename config.def.h to config.mobintl.h.
* config.mobintl.h:
* Rename the macro config_def_h_INCLUDED to config_h_INCLUDED.
* Remove a tailing space as a refactoring.
* Makefile: Add config.h to the clean task.
Signed-off-by: Jun Aruga <jun.aruga@gmail.com>
While working on packageing wvkbd for the aur, I got a warning from
namcap (an arch package verification tool) that RELRO wasn't enabled.
From what I can tell, this is because make was ignoring the LDFLAGS set
by makepkg.