X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=clients%2Fgtk2%2FMakefile.am;h=67e764624d1590c4e48f8b51a0be67f240f559fa;hb=4dda7bfaad18c2d4bf23d7b85641c34a632c3ae6;hp=e0b020caa30311d07b1a046341f3d1a9d4f54b34;hpb=79e4db3e6934e29b4433827d9ae9584ecdfad5f3;p=doldaconnect.git diff --git a/clients/gtk2/Makefile.am b/clients/gtk2/Makefile.am index e0b020c..67e7646 100644 --- a/clients/gtk2/Makefile.am +++ b/clients/gtk2/Makefile.am @@ -9,7 +9,7 @@ dolcon_SOURCES= dolcon.c \ EXTRA_DIST=mainwnd.desc inpdialog.desc pref.desc reslist.desc dolcon.desktop -BUILT_SOURCES=mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk +BUILT_SOURCES= mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk main.c: mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk @@ -20,7 +20,10 @@ dolcon_CPPFLAGS=@GTK2_CFLAGS@ @LIBXML_CFLAGS@ \ -DLOCALEDIR=\"$(localedir)\" .desc.gtk: $(top_srcdir)/common/makegdesc - cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< | $(top_srcdir)/common/makegdesc >$@ + target="$@"; \ + basename="$${target%.gtk}"; \ + cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< \ + | $(top_srcdir)/common/makegdesc -h "$${basename}.gtkh" >$@ mainwnd.desc: ../../config.h