Verified Commit 42ab00a5 authored by Gaurav Mishra's avatar Gaurav Mishra 🐼 Committed by Gaurav Mishra

fix(install_offline): Fix install_offline recipe to run in install folder

Signed-off-by: Gaurav Mishra's avatarGaurav Mishra <>
parent 5aa9a204
......@@ -13,6 +13,7 @@ DIRS = install src
# '$(subdir)' is equivalent to 'build-$(subdir)'
BUILDDIRS = $(DIRS:%=build-%)
INSTALLDIRS = $(DIRS:%=install-%)
INSTALLDIRSOFFLINE = $(DIRS:%=install_offline-%)
UNINSTALLDIRS = $(DIRS:%=uninstall-%)
CLEANDIRS = $(DIRS:%=clean-%)
TESTDIRS = $(DIRS:%=test-%)
......@@ -45,6 +46,13 @@ $(INSTALLDIRS):
$(MAKE) -C $(@:install-%=%) install
# offline install (without composer)
install_offline: all $(INSTALLDIRSOFFLINE)
$(MAKE) -C $(@:install_offline-%=%) install_offline
uninstall: $(UNINSTALLDIRS)
$(MAKE) -C $(@:uninstall-%=%) uninstall
......@@ -83,5 +91,5 @@ empty-cache:
.PHONY: all install uninstall clean test utils preparetest
.PHONY: all install install_offline uninstall clean test utils preparetest
.PHONY: dist dist-testing tar tar-release
......@@ -31,6 +31,8 @@ defconf/fossology.conf: defconf/fossology.conf-process
# create dbcreate
$(MAKE) -s -C db
install_offline: install
install: all
$(INSTALL_PROGRAM) fo-postinstall $(DESTDIR)$(LIBEXECDIR)/fo-postinstall
$(INSTALL_PROGRAM) fo_dbcheck.php $(DESTDIR)$(LIBEXECDIR)/fo_dbcheck.php
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment