1
0
forked from GitHub/gf-core

Build separate package for the java editor

This commit is contained in:
bringert
2004-06-22 13:54:31 +00:00
parent fad8e4c44f
commit 06bd91870e
2 changed files with 14 additions and 5 deletions

View File

@@ -125,9 +125,11 @@ dist:
rpm: dist
rpmbuild -ta $(DIST_DIR).tar.gz
install:
install-gf2:
$(INSTALL) -d $(bindir)
$(INSTALL) -d $(libdir)/GF-$(PACKAGE_VERSION)
$(INSTALL) ../bin/gf2 $(bindir)
install: install-gf2
$(INSTALL) -d $(libdir)/GF-$(PACKAGE_VERSION)
$(INSTALL) jgf2 $(bindir)
$(INSTALL) java/gf-java.jar $(libdir)/GF-$(PACKAGE_VERSION)

View File

@@ -42,6 +42,12 @@ GF particularly addresses the following aspects of grammars:
libraries)
%package editor
Summary: GF
Group: Sciences/Other
%description editor
This package contains the GF syntax editor.
%prep
rm -rf $RPM_BUILD_ROOT
@@ -50,7 +56,7 @@ rm -rf $RPM_BUILD_ROOT
%build
cd src
%configure
make unix
make unix jar
%install
cd src
@@ -60,11 +66,12 @@ cd src
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,0755)
%{_bindir}/gf2
%doc LICENSE README doc/{DocGF.pdf,gf2-highlights.html,index.html}
%files editor
%{_bindir}/jgf2
%{_libdir}/%{name}-%{version}/gf-java.jar
%doc LICENSE README doc/{DocGF.pdf,gf2-highlights.html,index.html}
%changelog