Navigation Menu

Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #9 from joergsteffens/joergs/packaging
Browse files Browse the repository at this point in the history
add files for RPM and DEB packaging
  • Loading branch information
frabdev committed Feb 14, 2014
2 parents 1e08f05 + e3fac9f commit c58fbf2
Show file tree
Hide file tree
Showing 17 changed files with 5,697 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Makefile.am
@@ -0,0 +1,17 @@
install: install-am
mkdir -p $(DESTDIR)$(pkgdatadir)
mkdir -p $(DESTDIR)/@HTTPD_CONF@
mkdir -p $(DESTDIR)@sysconfdir@/sudoers.d/
# dnl #mkdir -p $(DESTDIR)@sysconfdir@/@PACKAGE@
# dnl #mkdir -p $(DESTDIR)@sbindir@
cp -pr config/ data/ module/ public/ $(DESTDIR)$(pkgdatadir)

# #mkdir -p $(DESTDIR)$(pkgdatadir)/install
$(INSTALL) -m 0640 install/apache/bareos-console-web.conf $(DESTDIR)@HTTPD_CONF@/bareos-console-web.conf

$(INSTALL) -m 0440 install/sudoers.d/bareos-console-web-bconsole $(DESTDIR)@sysconfdir@/sudoers.d/

# #mv $(DESTDIR)$(pkgdatadir)/application/config.ini $(DESTDIR)@sysconfdir@/@PACKAGE@/config.ini#
# #ln -s @sysconfdir@/@PACKAGE@/config.ini $(DESTDIR)$(pkgdatadir)/application/config.ini

# #$(INSTALL_SCRIPT) install/webacula-config $(DESTDIR)@sbindir@

0 comments on commit c58fbf2

Please sign in to comment.