File: Makefile.am

package info (click to toggle)
urfkill 0.5.0-7.3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 712 kB
  • sloc: ansic: 6,558; xml: 715; makefile: 382; javascript: 87; sh: 31
file content (24 lines) | stat: -rw-r--r-- 670 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
profiledir = $(sysconfdir)/urfkill/profile

dist_profile_DATA = 10-asus-settings.xml 10-lenovo-settings.xml

check:
	for f in $(profile_DATA); do \
            echo -n "Validate XML in $$f : "; \
            xmllint --noout --dtdvalid $(top_srcdir)/profile/profile.dtd $(srcdir)/$$f 2> xmllint.error; \
            if test -s xmllint.error; \
              then \
                echo failed; \
                cat xmllint.error; \
                rm -f xmllint.error; \
                exit 1; \
            else \
                echo ok; \
                rm -f xmllint.error; \
            fi; \
        done;

clean-local :
	rm -f *~

-include $(top_srcdir)/git.mk