spec, lib/Makefile.am: compile and run set.c in -DSELF_TEST mode
This commit is contained in:
parent
57e25bb189
commit
292af70160
@ -38,6 +38,11 @@ librpm_la_LDFLAGS = -release @VERSION@
|
|||||||
librpm_la_LIBADD = $(top_builddir)/rpmdb/librpmdb.la $(top_builddir)/rpmio/librpmio.la @LIBPOPT@ @LIBBEECRYPT@ @WITH_SELINUX_LIB@
|
librpm_la_LIBADD = $(top_builddir)/rpmdb/librpmdb.la $(top_builddir)/rpmio/librpmio.la @LIBPOPT@ @LIBBEECRYPT@ @WITH_SELINUX_LIB@
|
||||||
librpm_la_DEPENDENCIES = $(top_builddir)/rpmdb/librpmdb.la $(top_builddir)/rpmio/librpmio.la
|
librpm_la_DEPENDENCIES = $(top_builddir)/rpmdb/librpmdb.la $(top_builddir)/rpmio/librpmio.la
|
||||||
|
|
||||||
|
noinst_PROGRAMS = test-set
|
||||||
|
test_set_SOURCES = set.c
|
||||||
|
test_set_CPPFLAGS = -DSELF_TEST
|
||||||
|
test_set_LDADD = $(top_builddir)/rpmio/librpmio.la
|
||||||
|
|
||||||
getdate.c: getdate.y
|
getdate.c: getdate.y
|
||||||
@echo expect 10 shift/reduce conflicts
|
@echo expect 10 shift/reduce conflicts
|
||||||
$(YACC) $(srcdir)/getdate.y
|
$(YACC) $(srcdir)/getdate.y
|
||||||
|
@ -250,6 +250,9 @@ rm -rf apidocs
|
|||||||
make apidocs
|
make apidocs
|
||||||
%endif #with apidocs
|
%endif #with apidocs
|
||||||
|
|
||||||
|
# check
|
||||||
|
lib/test-set
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install DESTDIR='%buildroot' install
|
%make_install DESTDIR='%buildroot' install
|
||||||
chmod a-w %buildroot%_usrsrc/RPM{,/RPMS/*}
|
chmod a-w %buildroot%_usrsrc/RPM{,/RPMS/*}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user