bincimap

Log | Files | Refs | LICENSE

Makefile.am (1815B)


      1 # This program is free software; you can redistribute it and/or modify
      2 # it under the terms of the GNU General Public License as published by
      3 # the Free Software Foundation; either version 2 of the License, or
      4 # (at your option) any later version.
      5 
      6 # You should have received a copy of the GNU General Public License
      7 # along with this program; if not, write to the Free Software
      8 # Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307,
      9 # USA.
     10 
     11 #--------------------------------------------------------------------------
     12 EXTRA_DIST=run run-ssl
     13 
     14 #--------------------------------------------------------------------------
     15 install-exec-hook:
     16 	$(mkinstalldirs) $(DESTDIR)$(localstatedir)/service/bincimap/log
     17 	@if [ ! -e $(DESTDIR)$(localstatedir)/service/bincimap/log/run ]; then $(INSTALL_SCRIPT) -m 0755 $(srcdir)/run $(DESTDIR)$(localstatedir)/service/bincimap/log/run;  else $(INSTALL_SCRIPT) -m 0755 $(srcdir)/run $(DESTDIR)$(localstatedir)/service/bincimap/log/run.new; echo "- New service/bincimap/run file saved as $(DESTDIR)$(localstatedir)/service/bincimap/log/run.new" >> $(srcdir)/../../install.log; fi
     18 	$(mkinstalldirs) $(DESTDIR)$(localstatedir)/service/bincimaps/log
     19 	@if [ ! -e $(DESTDIR)$(localstatedir)/service/bincimaps/log/run ]; then $(INSTALL_SCRIPT) -m 0755 $(srcdir)/run-ssl $(DESTDIR)$(localstatedir)/service/bincimaps/log/run;  else $(INSTALL_SCRIPT) -m 0755 $(srcdir)/run-ssl $(DESTDIR)$(localstatedir)/service/bincimaps/log/run.new; echo "- New service/bincimaps/run file saved as $(DESTDIR)$(localstatedir)/service/bincimaps/log/run.new" >> $(srcdir)/../../install.log; fi;
     20 
     21 #--------------------------------------------------------------------------
     22 uninstall-hook:
     23 	rm $(DESTDIR)$(localstatedir)/service/bincimap/log/run
     24 	rm $(DESTDIR)$(localstatedir)/service/bincimaps/log/run