bincimap

Log | Files | Refs | LICENSE

Makefile.am (1843B)


      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 SUBDIRS=log
     16 
     17 #--------------------------------------------------------------------------
     18 install-exec-hook:
     19 	$(mkinstalldirs) $(DESTDIR)$(localstatedir)/service/bincimap
     20 	@if [ ! -e $(DESTDIR)$(localstatedir)/service/bincimap/run ]; then $(INSTALL_DATA) -m 0755 $(srcdir)/run $(DESTDIR)$(localstatedir)/service/bincimap/run;  else $(INSTALL_DATA) -m 0755 $(srcdir)/run $(DESTDIR)$(localstatedir)/service/bincimap/run.new; echo "- New service/bincimap/run file saved as $(DESTDIR)$(localstatedir)/service/bincimap/run.new" >> $(srcdir)/../install.log; fi;
     21 	$(mkinstalldirs) $(DESTDIR)$(localstatedir)/service/bincimaps
     22 	@if [ ! -e $(DESTDIR)$(localstatedir)/service/bincimaps/run ]; then $(INSTALL_DATA) -m 0755 $(srcdir)/run-ssl $(DESTDIR)$(localstatedir)/service/bincimaps/run;  else $(INSTALL_DATA) -m 0755 $(srcdir)/run-ssl $(DESTDIR)$(localstatedir)/service/bincimaps/run.new; echo "- New service/bincimaps/run file saved as $(DESTDIR)$(localstatedir)/service/bincimaps/run.new" >> $(srcdir)/../install.log; fi;
     23 
     24 #--------------------------------------------------------------------------
     25 uninstall-hook:
     26 	rm $(DESTDIR)$(localstatedir)/service/bincimap/run
     27 	rm $(DESTDIR)$(localstatedir)/service/bincimaps/run