Commit 35ebd6fe authored by Hiroshi Sumita's avatar Hiroshi Sumita
Browse files

Fixes errors on "make distclean" and "make rpm".

BUG="make distclean" and "make rpm" are broken.
TEST=make, make distclean and make rpm.

Review URL: https://codereview.appspot.com/6345085
parent 65444f97
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -26,8 +26,8 @@ main_db_DATA = \
	$(NULL)
main_dbdir = $(pkgdatadir)/db

DBVER = 1.2.99
DBTAR = pinyin-database-$(DBVER).tar.bz2
DBVER = 1.0.0
DBTAR = pyzy-database-$(DBVER).tar.bz2

$(DBTAR):
	$(AM_V_GEN) \
+4 −1
Original line number Diff line number Diff line
@@ -30,5 +30,8 @@ CLEANFILES = doxyfile.stamp
all-local: doxyfile.stamp

clean-local:
	rm -rf $(top_srcdir)/docs/html
	rm -rf html

distclean-local: clean-local

endif
+1 −3
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ License: LGPL2.1
Group:      System Environment/Libraries
URL:        http://code.google.com/p/pyzy
Source0:    http://pyzy.googlecode.com/files/%{name}-%{version}.tar.gz
Source1:    pinyin-database-1.2.99.tar.bz2
Source1:    http://pyzy.googlecode.com/files/pyzy-database-1.0.0.tar.bz2

BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

@@ -15,7 +15,6 @@ BuildRequires: libtool
BuildRequires:  pkgconfig
BuildRequires:  sqlite-devel
BuildRequires:  libuuid-devel
BuildRequires:  gtest-devel

# Requires(post): sqlite

@@ -55,7 +54,6 @@ The phrase database for pyzy from android project.

%prep
%setup -q
cp %{SOURCE1} data/db/open-phrase

%build
%configure --disable-static --enable-db-open-phrase