NetworkManager r3647 - trunk/policy



Author: tambeti
Date: Fri May  9 09:22:53 2008
New Revision: 3647
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3647&view=rev

Log:
2008-05-08  Tambet Ingo  <tambet gmail com>

	* Add the missing policy/Makefile.am


Added:
   trunk/policy/
   trunk/policy/Makefile.am

Added: trunk/policy/Makefile.am
==============================================================================
--- (empty file)
+++ trunk/policy/Makefile.am	Fri May  9 09:22:53 2008
@@ -0,0 +1,42 @@
+polkit_policydir = $(datadir)/PolicyKit/policy
+
+dist_polkit_policy_DATA =    				\
+	org.freedesktop.network-manager-settings.system.policy
+
+check:
+	for f in $(dist_polkit_policy_DATA); do \
+            echo -n "Validate PolicyKit policy in $$f : "; \
+            $(POLKIT_POLICY_FILE_VALIDATE) $(srcdir)/$$f ; \
+	    ret=$$?; \
+            if  [ "$$ret" == "0" ]; \
+	      then \
+                echo ok; \
+            else \
+                echo failed; \ 
+		exit 1; \
+            fi; \
+        done;
+
+clean-local :
+	rm -f *~
+polkit_policydir = $(datadir)/PolicyKit/policy
+
+dist_polkit_policy_DATA =    				\
+	org.freedesktop.network-manager-settings.system.policy
+
+check:
+	for f in $(dist_polkit_policy_DATA); do \
+            echo -n "Validate PolicyKit policy in $$f : "; \
+            $(POLKIT_POLICY_FILE_VALIDATE) $(srcdir)/$$f ; \
+	    ret=$$?; \
+            if  [ "$$ret" == "0" ]; \
+	      then \
+                echo ok; \
+            else \
+                echo failed; \ 
+		exit 1; \
+            fi; \
+        done;
+
+clean-local :
+	rm -f *~



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]