diff options
author | ivan <ivan> | 2002-04-19 01:16:39 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-04-19 01:16:39 +0000 |
commit | 98a73bb080f55f4f5d850102bcec6da2807e3d4f (patch) | |
tree | 960bf3f9117760ee030020a9104b836f69910d43 /Makefile | |
parent | 6866bdda26d1feb152af991388113e2e9309fafb (diff) |
- add init file installation to Makefile, add unified init file
- fix qsearch for op => '!=', value => '' searches
- fix invalid_catd typo
- add payby method to part_pkg and have fs_signup_server pass the data
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -13,8 +13,10 @@ ASP_GLOBAL = /usr/local/etc/freeside/asp-global FREESIDE_DOCUMENT_ROOT = /var/www/freeside +INIT_FILE = /etc/init.d/freeside + HTTPD_RESTART = /etc/init.d/apache restart -QUEUED_RESTART = /etc/init.d/freeside restart +FREESIDE_RESTART = /etc/init.d/freeside restart #--- @@ -74,11 +76,14 @@ install-perl-modules: perl-modules cd FS; \ make install UNINST=1 -install: install-perl-modules install-docs +install-init: + [ -e ${INIT_FILE} ] || install -o root -g root -m 711 init.d/freeside-init ${INIT_FILE} + +install: install-perl-modules install-docs install-init deploy: install ${HTTPD_RESTART} - ${QUEUED_RESTART} + ${FREESIDE_RESTART} create-database: perl -e 'use DBIx::DataSource qw( create_database ); create_database( "${DATASOURCE}", "${DB_USER}", "${DB_PASSWORD}" ) or die $$DBIx::DataSource::errstr;' |