changeset 870:54c4d3e840ff

Remove unnecessary whitespace from Makefiles.
author Thomas Klausner <tk@giga.or.at>
date Tue, 23 Oct 2012 15:50:01 +0200
parents 67fb1f8e093e
children 254d81d21d0b
files contrib/PKI/ca_script/Makefile contrib/PKI/ca_script2/Makefile
diffstat 2 files changed, 8 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/PKI/ca_script/Makefile	Tue Oct 30 21:18:45 2012 +0100
+++ b/contrib/PKI/ca_script/Makefile	Tue Oct 23 15:50:01 2012 +0200
@@ -2,7 +2,7 @@
 #
 # This file is designed to automatize the CA tasks such as:
 #  -> init  : create the initial CA tree and the CA root certificate.
-#  -> newcsr: create a new private key and csr. $name and $email must be set. C, ST, L, O, OU may be overwitten (exemple: make newcsr C=FR)
+#  -> newcsr: create a new private key and csr. $name and $email must be set. C, ST, L, O, OU may be overwitten (example: make newcsr C=FR)
 #  -> cert  : sign a pending CSR and generate the certificate. $name must be provided.
 #  -> revoke: revoke a certificate. $name must be provided.
 #  -> gencrl: update/create the CRL.
@@ -69,8 +69,8 @@
    The URL to CRL should be set in openssl.cnf.\n\
    A cron job should execute make gencrl once a month.\n\
 ";
-	
-# Destroy the CA completly. Use with care.
+
+# Destroy the CA completely. Use with care.
 destroy:
 	@if [ -z "$(force)" ]; then echo "Restart disabled, use: make destroy force=y"; exit 1; fi
 	@if [ ! -d $(STATIC_DIR) ]; then echo "Error in setup"; exit 1; fi
@@ -78,7 +78,6 @@
 	@rm -rf $(DIR)/*
 	@ln -sf $(STATIC_DIR)/Makefile $(DIR)
 	@ln -sf $(STATIC_DIR)/openssl.cnf $(DIR)
-	
 
 # Initialize the CA structure and keys.
 init:
@@ -146,5 +145,5 @@
 	@openssl ca $(CONFIG) -revoke $(DIR)/clients/certs/$(name).cert;
 	@rm -f $(DIR)/certs/`openssl x509 -noout -hash < $(DIR)/clients/certs/$(name).cert`.0
 	@$(MAKE) gencrl
-	
+
 # End of file...
--- a/contrib/PKI/ca_script2/Makefile	Tue Oct 30 21:18:45 2012 +0100
+++ b/contrib/PKI/ca_script2/Makefile	Tue Oct 23 15:50:01 2012 +0200
@@ -43,8 +43,8 @@
        Regenerates the CRL of CA caname. Should be run periodically.\n\
 \n\
 ";
-	
-# Destroy the CA hierarchy completly. Use with care.
+
+# Destroy the CA hierarchy completely. Use with care.
 destroy:
 	@if [ -z "$(force)" ]; then echo "Destroy disabled, use: make destroy force=y"; exit 1; fi
 	@if [ ! -d $(SCRIPT_DIR) ]; then echo "Error in setup"; exit 1; fi
@@ -65,7 +65,7 @@
 	@echo "01" > $(DATA_DIR)/$(caname)/serial
 	@echo "01" > $(DATA_DIR)/$(caname)/crlnumber
 	@touch $(DATA_DIR)/$(caname)/index.txt
-	
+
 # Initialize the top-level CA structure and keys.
 init:
 	@if [ -z "$(topca)" ]; then echo "Please specify the name of the root CA. Ex: make init topca=rootca.testbed.aaa"; exit 1; fi
@@ -166,7 +166,7 @@
 	# Revoke the certificate
 	@CA_ROOT_DIR=$(DATA_DIR)/$(ca) openssl ca $(CONFIG) -revoke $(DATA_DIR)/$(ca)/clients/$(name)/cert.pem;
 	@$(REMAKE) gencrl ca=$(ca)
-	
+
 # Regenerate the Certificate Revocation List.
 gencrl:
 	@if [ -z "$(ca)" ]; then echo "Missing parameter. Ex: make gencrl ca=ca.testbed.aaa"; exit 1; fi
"Welcome to our mercurial repository"