GtkSharp/gconf/tools/Makefile.in
Robert McQueen 5c87903756 2002-12-22 Robert McQueen <robot101@debian.org>
* makefile: when doing distclean, attempt distclean on all the
        C# subdirs too
        * gconf/Makefile.in: added distclean target to rm the Makefiles
        in the subdirs of gconf/
        * glue/Makefile.am: build libgtksharpglue as an unversioned
        module to avoid so -> so.0 -> so.0.0 symlink mess
        * */Makefile.in: call mkinstalldirs before installing any files
        so that subdirs can be installed seperately or in any sequence
        (eg binding dirs before native dirs)

svn path=/trunk/gtk-sharp/; revision=9828
2002-12-22 05:08:52 +00:00

26 lines
680 B
Makefile

MCS = mcs
DESTDIR =
bindir = @prefix@/bin
SOURCES = \
schemagen.cs \
#
all: gconfsharp-schemagen.exe gconfsharp-schemagen
gconfsharp-schemagen.exe: $(SOURCES)
$(MCS) /out:gconfsharp-schemagen.exe $(SOURCES)
gconfsharp-schemagen: gconfsharp-schemagen.in
sed -e 's^\@bindir\@^$(bindir)^g' < gconfsharp-schemagen.in > gconfsharp-schemagen.tmp \
&& mv gconfsharp-schemagen.tmp gconfsharp-schemagen \
&& chmod +x gconfsharp-schemagen
install: all
../../mkinstalldirs $(DESTDIR)@prefix@/bin && \
chmod +x gconfsharp-schemagen && cp gconfsharp-schemagen.exe gconfsharp-schemagen $(DESTDIR)@prefix@/bin
clean:
rm -f gconfsharp-schemagen.exe
rm -f gconfsharp-schemagen