Move makegdesc to common.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sun, 15 Apr 2007 15:45:11 +0000 (15:45 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sun, 15 Apr 2007 15:45:11 +0000 (15:45 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@939 959494ce-11ee-0310-bf91-de5d638817bd

clients/gtk2/Makefile.am
common/makegdesc [moved from clients/gtk2/makegdesc with 100% similarity]

index 6d50e01..733873a 100644 (file)
@@ -4,7 +4,7 @@ dolcon_SOURCES= main.c \
                progressbar.c \
                progressbar.h
 
-EXTRA_DIST=mainwnd.desc inpdialog.desc pref.desc reslist.desc makegdesc
+EXTRA_DIST=mainwnd.desc inpdialog.desc pref.desc reslist.desc $(top_srcdir)/common/makegdesc
 
 BUILT_SOURCES=mainwnd.gtk inpdialog.gtk pref.gtk reslist.gtk
 
@@ -18,7 +18,7 @@ dolcon_CPPFLAGS=$(shell pkg-config --cflags gtk+-2.0) \
                $(shell pkg-config --cflags libxml-2.0) \
                -DLOCALEDIR=\"$(localedir)\"
 
-%.gtk: %.desc makegdesc
-       cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< | ./makegdesc >$@
+%.gtk: %.desc $(top_srcdir)/common/makegdesc
+       cpp $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $< | $(top_srcdir)/common/makegdesc >$@
 
 mainwnd.desc: ../../config.h
similarity index 100%
rename from clients/gtk2/makegdesc
rename to common/makegdesc