summaryrefslogtreecommitdiff
path: root/lib/Makefile.am
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-05-06 19:17:14 +0000
committerjbj <devnull@localhost>2001-05-06 19:17:14 +0000
commitc3835f5ca0e3ea856213a22367233e148ea26550 (patch)
tree638c5770c93dc09c116fadd5400ac9b592c683b0 /lib/Makefile.am
parent6f5615eab6821743c73c278030e01d117a5ee163 (diff)
downloadlibrpm-tizen-c3835f5ca0e3ea856213a22367233e148ea26550.tar.gz
librpm-tizen-c3835f5ca0e3ea856213a22367233e148ea26550.tar.bz2
librpm-tizen-c3835f5ca0e3ea856213a22367233e148ea26550.zip
- fix: specfile queries with BuildArch: (#27589).
CVS patchset: 4746 CVS date: 2001/05/06 19:17:14
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am13
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 247cb446f..65ec46d4f 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -57,9 +57,16 @@ getdate.c: getdate.y
@echo expect 10 shift/reduce conflicts
$(YACC) $(srcdir)/getdate.y
-@if test -f y.tab.c; then \
- { echo "/*@-globstate -retvalint -unqualifiedtrans -usedef -varuse -nullderef -exportlocal @*/";\
- cat y.tab.c ;\
- echo "/*@=globstate =retvalint =unqualifiedtrans =usedef =varuse =nullderef =exportlocal @*/";\
+ { echo "/*@-globstate -statictrans -unqualifiedtrans @*/";\
+ echo "/*@-retvalint -usedef -varuse -nullderef -nullassign @*/";\
+ sed -e 's,y.tab.c,getdate.c,' y.tab.c \
+ -e 's,^YYSTYPE ,static &,' \
+ -e 's,^short ,static &,' \
+ -e 's,^const short ,static &,' \
+ -e 's,^int yydebug,/*@unused@*/ static &,' \
+ -e 's,^int ,static &,' ;\
+ echo "/*@=retvalint =usedef =varuse =nullderef =nullassign @*/";\
+ echo "/*@=globstate =statictrans =unqualifiedtrans @*/";\
} > getdate.c ;\
rm -f y.tab.c; \
else \