Generate misc headers in the builddir, not srcdir

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Hans Ulrich Niedermann 2008-01-22 01:23:58 +01:00 committed by Julien Danjou
parent 67933fb670
commit bb9b688ead
1 changed files with 3 additions and 3 deletions

View File

@ -66,21 +66,21 @@ BUILT_SOURCES += uicbgen.h
EXTRA_DIST += build-utils/uicbgen.sh EXTRA_DIST += build-utils/uicbgen.sh
uicbgen.h: $(awesome_SOURCES) uicbgen.h: $(awesome_SOURCES)
@echo "generating uicbgen.h from headers file" @echo "generating uicbgen.h from headers file"
$(top_srcdir)/build-utils/uicbgen.sh > $(top_srcdir)/uicbgen.h $(top_srcdir)/build-utils/uicbgen.sh > uicbgen.h
CLEANFILES += layoutgen.h CLEANFILES += layoutgen.h
BUILT_SOURCES += layoutgen.h BUILT_SOURCES += layoutgen.h
EXTRA_DIST += build-utils/layoutgen.sh EXTRA_DIST += build-utils/layoutgen.sh
layoutgen.h: $(awesome_SOURCES) layoutgen.h: $(awesome_SOURCES)
@echo "generating layoutgen.h from layouts headers file" @echo "generating layoutgen.h from layouts headers file"
$(top_srcdir)/build-utils/layoutgen.sh > $(top_srcdir)/layoutgen.h $(top_srcdir)/build-utils/layoutgen.sh > layoutgen.h
CLEANFILES += widgetgen.h CLEANFILES += widgetgen.h
BUILT_SOURCES += widgetgen.h BUILT_SOURCES += widgetgen.h
EXTRA_DIST += build-utils/widgetgen.sh EXTRA_DIST += build-utils/widgetgen.sh
widgetgen.h: widget.h widgetgen.h: widget.h
@echo "generating widgetgen.h from widget.h" @echo "generating widgetgen.h from widget.h"
$(top_srcdir)/build-utils/widgetgen.sh > $(top_srcdir)/widgetgen.h $(top_srcdir)/build-utils/widgetgen.sh > widgetgen.h
if USING_GCC if USING_GCC
# If you are using gcc, and want to deactivate this default set of # If you are using gcc, and want to deactivate this default set of