Move build system tools to separate directory
Separate tools used internally by build system from utilities that are part of Open CAS installation package. Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
feaafdfe06
commit
e58dae02ac
10
Makefile
10
Makefile
@ -27,16 +27,16 @@ endif
|
||||
endif
|
||||
|
||||
archives:
|
||||
@utils/pckgen $(PWD) tar zip
|
||||
@tools/pckgen $(PWD) tar zip
|
||||
|
||||
rpm:
|
||||
@utils/pckgen $(PWD) rpm --debug
|
||||
@tools/pckgen $(PWD) rpm --debug
|
||||
|
||||
srpm:
|
||||
@utils/pckgen $(PWD) srpm --debug
|
||||
@tools/pckgen $(PWD) srpm --debug
|
||||
|
||||
deb:
|
||||
@utils/pckgen $(PWD) deb
|
||||
@tools/pckgen $(PWD) deb
|
||||
|
||||
dsc:
|
||||
@utils/pckgen $(PWD) dsc
|
||||
@tools/pckgen $(PWD) dsc
|
||||
|
2
configure
vendored
2
configure
vendored
@ -79,7 +79,7 @@ fi
|
||||
|
||||
# Run version generator with 'build' flag to
|
||||
# indicate that we are in the build process
|
||||
(cd utils && ./cas_version_gen build)
|
||||
(cd tools && ./cas_version_gen build)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error: failed to obtain CAS version" >&2
|
||||
exit 1
|
||||
|
@ -515,7 +515,7 @@ DEB_BUILD_DIR="$TEMP_DIR/debuild"
|
||||
# Version file location:
|
||||
VERSION_FILE="$SOURCES_DIR/.metadata/cas_version"
|
||||
# CAS version generator location:
|
||||
CAS_VERSION_GEN="$SOURCES_DIR/utils/cas_version_gen"
|
||||
CAS_VERSION_GEN="$SOURCES_DIR/tools/cas_version_gen"
|
||||
|
||||
check_version
|
||||
|
@ -70,11 +70,11 @@ endif
|
||||
uninstall:
|
||||
@echo "Uninstalling Open-CAS utils"
|
||||
|
||||
@rm $(DESTDIR)/etc/opencas/opencas.conf
|
||||
@rm $(DESTDIR)/etc/opencas/ioclass-config.csv
|
||||
@rm -rf $(DESTDIR)/etc/opencas
|
||||
@rm $(DESTDIR)/var/lib/opencas/cas_version
|
||||
@rm -rf $(DESTDIR)/var/lib/opencas
|
||||
@rm $(DESTDIR)/etc/opencas/opencas.conf
|
||||
@rm $(DESTDIR)/etc/opencas/ioclass-config.csv
|
||||
@rm -rf $(DESTDIR)/etc/opencas
|
||||
@rm $(DESTDIR)/var/lib/opencas/cas_version
|
||||
@rm -rf $(DESTDIR)/var/lib/opencas
|
||||
@rm $(DESTDIR)/usr/share/man/man5/opencas.conf.5
|
||||
|
||||
@rm $(DESTDIR)$(CASCTL_DIR)/opencas.py
|
||||
|
Loading…
Reference in New Issue
Block a user