Cleaner builds for RPM & DEB

This commit is contained in:
Matthias Koefferlein
2018-07-29 02:45:59 +02:00
parent 11627486d6
commit 3efde26584
2 changed files with 11 additions and 4 deletions
+6 -2
View File
@@ -92,11 +92,15 @@ cd %{git_source}
%else
cd %{_sourcedir}
%endif
# @@@ remove -without-qtbinding
# clean bin dir
rm -rf %{_builddir}/bin.$TARGET
# do the actual build
./build.sh -rpath %{_libdir}/klayout \
-bin %{_builddir}/bin.$TARGET \
-build %{_builddir}/build.$TARGET \
%{buildopt} -without-qtbinding
%{buildopt}
cp -p LICENSE Changelog CONTRIB %{_builddir}
strip %{_builddir}/bin.$TARGET/*.so