]> granicus.if.org Git - re2c/commitdiff
Makefile.am: dropped distfiles for MSVC (they are broken anyway)
authorUlya Trofimovich <skvadrik@gmail.com>
Mon, 13 Apr 2015 09:23:57 +0000 (10:23 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Mon, 13 Apr 2015 09:23:57 +0000 (10:23 +0100)
re2c/Makefile.am
re2c/re2c.rules [deleted file]
re2c/release.sh

index 1e7f8cf26fc3731e51031b5635a774c557b39689..fb25afa5dfce8d1135d0cbadc467dadc3eb7cec3 100755 (executable)
@@ -1,7 +1,6 @@
 # $Id$
 
 bin_PROGRAMS = re2c
-win_BINARIES = $(WINBUILDDIR)/re2c.exe
 re2c_SOURCES = code.cc dfa.cc main.cc parser.cc actions.cc scanner.re substr.cc range.cc \
        translate.cc scanner.cc mbo_getopt.cc print.cc input_api.cc \
        enc.cc utf8.cc utf8_range.cc utf8_regexp.cc utf16.cc utf16_range.cc utf16_regexp.cc range_suffix.cc \
@@ -31,7 +30,6 @@ EXTRA_SRC    = README parser.y scanner.re y.tab.h CHANGELOG NO_WARRANTY \
                doc examples test bootstrap/*.cc bootstrap/*.h bootstrap/re2c.1 lessons \
                $(DOCS)
 EXTRA_DIST   = $(EXTRA_SRC) makerpm.in re2c.spec.in re2c.spec README.in config_w32.h.in
-EXTRA_ZIP    = $(EXTRA_SRC) config_w32.h re2c.rules
 
 dist-hook: re2c.spec
        rm -rf `find $(distdir)/doc -name .git`
@@ -52,16 +50,7 @@ src-rpm: dist
        rpmbuild -bs re2c.spec
        cp -f `rpm --eval "%{_srcrpmdir}"`/re2c-$(PACKAGE_VERSION)-$(PACKAGE_RELEASE).src.rpm .
 
-zip: $(bin_PROGRAMS) $(EXTRA_ZIP)
-       if test -f re2c-$(PACKAGE_VERSION)-src.zip; then rm -f re2c-$(PACKAGE_VERSION)-src.zip; fi
-       zip -q -o -9 -r re2c-$(PACKAGE_VERSION)-src.zip $(re2c_SOURCES) $(EXTRA_ZIP)
-       zipinfo -1      re2c-$(PACKAGE_VERSION)-src.zip | grep .git | xargs zip -d re2c-$(PACKAGE_VERSION)-src.zip >/dev/null
-       if test -f re2c-$(PACKAGE_VERSION)-bin.zip; then rm -f re2c-$(PACKAGE_VERSION)-bin.zip; fi
-       if test -f $(WINBUILDDIR)/re2c.exe; then \
-       zip -q -o -9 -j re2c-$(PACKAGE_VERSION)-bin.zip $(win_BINARIES); \
-       fi;
-
-release: dist zip src-rpm
+release: dist src-rpm
 
 parser.cc: $(top_srcdir)/parser.y
        @if test $(BISON) = "yes"; then \
diff --git a/re2c/re2c.rules b/re2c/re2c.rules
deleted file mode 100755 (executable)
index 45ade93..0000000
+++ /dev/null
@@ -1,152 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>\r
-<VisualStudioToolFile\r
-       Name="re2c"\r
-       Version="8.00"\r
-       >\r
-       <Rules>\r
-               <CustomBuildRule\r
-                       Name="re2c"\r
-                       DisplayName="re2c"\r
-                       CommandLine="re2c.exe [AllOptions] [AdditionalOptions] [inputs]"\r
-                       Outputs="[$OutputFileName]"\r
-                       FileExtensions="*.re"\r
-                       ExecutionDescription="Compiling regular expressions..."\r
-                       >\r
-                       <Properties>\r
-                               <StringProperty\r
-                                       Name="OutputFileName"\r
-                                       DisplayName="Output File Name"\r
-                                       Description="Specifies the name of the output source file.     (-o[file])"\r
-                                       Switch="-o&quot;[value]&quot;"\r
-                                       DefaultValue="$(InputDir)$(InputName).cpp"\r
-                               />\r
-                               <EnumProperty\r
-                                       Name="Version"\r
-                                       DisplayName="Show Version Information"\r
-                                       Description="Displays version information at compile-time.     (-v -V)"\r
-                                       >\r
-                                       <Values>\r
-                                               <EnumValue\r
-                                                       Value="0"\r
-                                                       DisplayName="Default"\r
-                                               />\r
-                                               <EnumValue\r
-                                                       Value="1"\r
-                                                       Switch="-v"\r
-                                                       DisplayName="Show Version (-v)"\r
-                                               />\r
-                                               <EnumValue\r
-                                                       Value="2"\r
-                                                       Switch="-V"\r
-                                                       DisplayName="Show Version as a Number (-V)"\r
-                                               />\r
-                                       </Values>\r
-                               </EnumProperty>\r
-                               <BooleanProperty\r
-                                       Name="NoLineInfo"\r
-                                       DisplayName="Suppress Line Information"\r
-                                       Description="Suppress line-number debugging information in the output file.     (-i)"\r
-                                       Switch="-i"\r
-                               />\r
-                               <BooleanProperty\r
-                                       Name="NoGenerationDate"\r
-                                       DisplayName="Suppress Generation Date"\r
-                                       Description="Suppress generation-date information in the output file.     (--no-generation-date)"\r
-                                       Switch="--no-generation-date"\r
-                               />\r
-                               <EnumProperty\r
-                                       Name="CharacterSet"\r
-                                       DisplayName="Scanner Character Set"\r
-                                       PropertyPageName="Code Generation"\r
-                                       Description="Specifies the generated scanner&apos;s character set.     (-e, -w, -u)"\r
-                                       >\r
-                                       <Values>\r
-                                               <EnumValue\r
-                                                       Value="0"\r
-                                                       DisplayName="Default"\r
-                                               />\r
-                                               <EnumValue\r
-                                                       Value="1"\r
-                                                       Switch="-e"\r
-                                                       DisplayName="EBCDIC (-e)"\r
-                                               />\r
-                                               <EnumValue\r
-                                                       Value="2"\r
-                                                       Switch="-w"\r
-                                                       DisplayName="UCS-16 (-w)"\r
-                                               />\r
-                                               <EnumValue\r
-                                                       Value="3"\r
-                                                       Switch="-u"\r
-                                                       DisplayName="UTF-32 (-u)"\r
-                                               />\r
-                                       </Values>\r
-                               </EnumProperty>\r
-                               <EnumProperty\r
-                                       Name="Optimization"\r
-                                       DisplayName="Optimization Level"\r
-                                       PropertyPageName="Code Generation"\r
-                                       Description="Specifies the optimizations used in the scanner.     (-s, -b, -g)"\r
-                                       DefaultValue="2"\r
-                                       >\r
-                                       <Values>\r
-                                               <EnumValue\r
-                                                       Value="0"\r
-                                                       DisplayName="None"\r
-                                               />\r
-                                               <EnumValue\r
-                                                       Value="1"\r
-                                                       Switch="-s"\r
-                                                       DisplayName="Use Nested If&apos;s (-s)"\r
-                                               />\r
-                                               <EnumValue\r
-                                                       Value="2"\r
-                                                       Switch="-b"\r
-                                                       DisplayName="Use Bit Vectors (-b)"\r
-                                               />\r
-                                               <EnumValue\r
-                                                       Value="3"\r
-                                                       Switch="-g"\r
-                                                       DisplayName="Use Computed Goto&apos;s (GCC Only) (-g)"\r
-                                               />\r
-                                       </Values>\r
-                               </EnumProperty>\r
-                               <BooleanProperty\r
-                                       Name="StorableState"\r
-                                       DisplayName="Enable Storable State"\r
-                                       PropertyPageName="Code Generation"\r
-                                       Description="Generates a scanner with support for storable state.     (-r)"\r
-                                       Switch="-r"\r
-                               />\r
-                               <BooleanProperty\r
-                                       Name="DebugOutput"\r
-                                       DisplayName="Enable Debugging Output"\r
-                                       PropertyPageName="Code Generation"\r
-                                       Description="Generates a scanner that outputs its current position and state. You must define a YYDEBUG(int state, char current) macro to recieve this information.     (-d)"\r
-                                       Switch="-d"\r
-                               />\r
-                               <BooleanProperty\r
-                                       Name="SinglePass"\r
-                                       DisplayName="Single Pass Code Generation"\r
-                                       PropertyPageName="Code Generation"\r
-                                       Description="Forces single pass code generation. This disables YYMAXFILL generation prior to last block and cannot be used with storable state.     (-1)"\r
-                                       Switch="-1"\r
-                               />\r
-                               <BooleanProperty\r
-                                       Name="Conditions"\r
-                                       DisplayName="Require Start Conditions"\r
-                                       PropertyPageName="Code Generation"\r
-                                       Description="Enables support for (f)lex-like conditions.     (-c)"\r
-                                       Switch="-c"\r
-                               />\r
-                               <StringProperty\r
-                                       Name="TypeHeader"\r
-                                       DisplayName="Condition Header File"\r
-                                       PropertyPageName="Code Generation"\r
-                                       Description="Generates a header file that contains types for the (f)lex-like condition support.     (-t[file])"\r
-                                       Switch="-t&quot;[value]&quot;"\r
-                               />\r
-                       </Properties>\r
-               </CustomBuildRule>\r
-       </Rules>\r
-</VisualStudioToolFile>\r
index 40f52ed2267d3ac94249ddb37a57fd99a8b89636..dd5aaa563f6a0ebb56f02ebbac134a1244798b69 100755 (executable)
@@ -23,7 +23,7 @@ make clean
 make -j5
 make docs
 make tests
-make zip dist
+make dist
 
 # dist-check
 tmpdir=` date +"%Y%m%d%H%M%S%N"`
@@ -52,6 +52,6 @@ src_docs=$src/project-web/re2c/htdocs
 rm -rf $src
 mkdir -p $src_tarballs
 mkdir -p $src_docs
-cp re2c-$version-src.zip re2c-$version.tar.gz $src_tarballs
+cp re2c-$version.tar.gz $src_tarballs
 cp htdocs/index.html htdocs/manual.html $src_docs
 rsync -rK $src/ skvadrik@web.sourceforge.net:/home