merge -r 58060:58217
[mono.git] / scripts / Makefile.am
index f5f649cd8d890c896d8deec95d36c8d020d37d69..7ddb6fa1780b3479a8d56fb302a197b556ee8b10 100644 (file)
@@ -1,6 +1,6 @@
-bin_SCRIPTS = $(scripts_1.0) $(scripts_2.0) gmcs mono-service $(scripts_rpmhelpers)
+bin_SCRIPTS = $(scripts_1_0) $(scripts_1_0_umask) $(scripts_2_0) mono-service $(scripts_rpmhelpers)
 
-scripts_1.0 = \
+scripts_1_0 = \
        al                      \
        caspol                  \
        cert2spc                \
@@ -12,7 +12,6 @@ scripts_1.0 = \
        gacutil                 \
        genxs                   \
        ilasm                   \
-       makecert                \
        macpack                 \
        mbas                    \
        mcs                     \
@@ -20,32 +19,41 @@ scripts_1.0 = \
        mkbundle                \
        monop                   \
        mono-shlib-cop          \
+       mozroots                \
+       nunit-console           \
        permview                \
        prj2make                \
        resgen                  \
        secutil                 \
        setreg                  \
        signcode                \
-       sn                      \
        soapsuds                \
        sqlsharp                \
        wsdl                    \
        xsd
 
-scripts_2.0 = \
+scripts_1_0_umask = \
+       makecert                \
+       sn
+
+scripts_2_0 = \
+       gmcs                    \
+       ilasm2                  \
        monop2                  \
-       wsdl2
+       wsdl2                   \
+       xbuild
 
 scripts_rpmhelpers = mono-find-provides mono-find-requires
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA= mono-nunit.pc
 
-CLEANFILES = $(scripts_1.0) $(scripts_2.0) gmcs mono-service
+CLEANFILES = $(scripts_1_0) $(scripts_1_0_umask) $(scripts_2_0) gmcs mono-service
 DISTCLEANFILES = $(pkgconfig_DATA) $(scripts_rpmhelpers)
 
 EXTRA_DIST =                   \
        script.in              \
+       script_umask.in        \
        mono-service.in        \
        mono-nunit.pc.in       \
        mono-find-provides.in  \
@@ -79,15 +87,15 @@ mono-service: mono-service.in Makefile
        $(REWRITE1) -e 's,@''exe_name@,$@,g' $(srcdir)/mono-service.in > $@.tmp
        mv $@.tmp $@
 
-$(scripts_1.0): script.in Makefile
+$(scripts_1_0): script.in Makefile
        $(REWRITE1) -e 's,@''exe_name@,$@,g' $(srcdir)/script.in > $@.tmp
        mv $@.tmp $@
 
-gmcs: script.in Makefile
-       $(REWRITE2) -e 's,@''exe_name@,$@,g' $(srcdir)/script.in > $@.tmp
+$(scripts_1_0_umask): script_umask.in Makefile
+       $(REWRITE1) -e 's,@''exe_name@,$@,g' $(srcdir)/script_umask.in > $@.tmp
        mv $@.tmp $@
 
-$(scripts_2.0): script.in Makefile
+$(scripts_2_0): script.in Makefile
        n=`echo $@ | sed 's,2$$,,'`; \
        $(REWRITE2) -e "s,@""exe_name@,$$n,g" $(srcdir)/script.in > $@.tmp
        mv $@.tmp $@