Skip to content

Commit

Permalink
Amend makefile install
Browse files Browse the repository at this point in the history
  • Loading branch information
mreid-tt committed Jan 26, 2024
1 parent 5a7315c commit f2915a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 7 additions & 3 deletions cross/fengoffice/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ HOMEPAGE = https://www.fengoffice.com
COMMENT = Feng Office is a Collaboration Platform and Project Management System.
LICENSE = AGPL

POST_INSTALL_TARGET = fengoffice_post_install
CONFIGURE_TARGET = nop
COMPILE_TARGET = nop
INSTALL_TARGET = fengoffice_install

include ../../mk/spksrc.cross-cc.mk

.PHONY: fengoffice_post_install
fengoffice_post_install:
.PHONY: fengoffice_install
fengoffice_install:
mkdir -p $(STAGING_INSTALL_PREFIX)/share/fengoffice
tar -cf - -C $(WORK_DIR)/$(PKG_NAME)-$(PKG_VERS) . | tar -xf - -C $(STAGING_INSTALL_PREFIX)/share/fengoffice
install -m 644 src/install_helper.php $(STAGING_INSTALL_PREFIX)/share/fengoffice/public/install/install_helper.php
2 changes: 0 additions & 2 deletions spk/fengoffice/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,5 @@ include ../../mk/spksrc.spk.mk

.PHONY: fengoffice_extra_install
fengoffice_extra_install:
install -m 755 -d $(STAGING_DIR)/var
install -m 755 src/fengoffice.sh $(STAGING_DIR)/bin/
install -m 755 -d $(STAGING_DIR)/app
install -m 644 src/app/config $(STAGING_DIR)/app/config

0 comments on commit f2915a1

Please sign in to comment.