forked from pool/helix
This commit is contained in:
parent
1153b95b64
commit
fc01a3e01d
@ -59,10 +59,9 @@ export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=true
|
|||||||
HELIX_RUNTIME="$PWD/runtime" ./target/release/hx --grammar build
|
HELIX_RUNTIME="$PWD/runtime" ./target/release/hx --grammar build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_libdir}/%{name}
|
mkdir -p %{buildroot}%{_libdir}/%{name}
|
||||||
mkdir -p %{buildroot}%{_helix_runtimedir}
|
mkdir -p %{buildroot}%{_helix_runtimedir}
|
||||||
install -m 0755 %{_builddir}/%{name}/target/release/hx %{buildroot}%{_libdir}/%{name}/hx
|
install -m 0755 %{_builddir}/%{name}-%{version}/target/release/hx %{buildroot}%{_libdir}/%{name}/hx
|
||||||
cp -rv "runtime/queries" %{buildroot}%{_helix_runtimedir}
|
cp -rv "runtime/queries" %{buildroot}%{_helix_runtimedir}
|
||||||
cp -rv "runtime/themes" %{buildroot}%{_helix_runtimedir}
|
cp -rv "runtime/themes" %{buildroot}%{_helix_runtimedir}
|
||||||
find "%{_builddir}/%{name}/runtime/grammars" -type f -name '*.so' -exec \
|
find "%{_builddir}/%{name}/runtime/grammars" -type f -name '*.so' -exec \
|
||||||
|
Loading…
Reference in New Issue
Block a user