2008-05-08 Tambet Ingo <tambet@gmail.com>
authorTambet Ingo <tambet@gmail.com>
Fri, 9 May 2008 09:22:53 +0000 (09:22 +0000)
committerTambet Ingo <tambet@gmail.com>
Fri, 9 May 2008 09:22:53 +0000 (09:22 +0000)
* Add the missing policy/Makefile.am

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3647 4912f4e0-d625-0410-9fb7-b9a5a253dbdc

policy/Makefile.am [new file with mode: 0644]

diff --git a/policy/Makefile.am b/policy/Makefile.am
new file mode 100644 (file)
index 0000000..c10a7d9
--- /dev/null
@@ -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 *~