1999-12-02 18:07:38 -05:00
|
|
|
# process this file with automake to create a Makefile.in
|
|
|
|
|
2001-06-07 20:31:12 -04:00
|
|
|
SUBDIRS = src tools doc debian
|
2000-01-02 16:55:08 -05:00
|
|
|
|
2001-02-28 11:24:38 -05:00
|
|
|
aclocaldir = @datadir@/aclocal
|
|
|
|
aclocal_DATA = libraw1394.m4
|
2000-01-02 16:55:08 -05:00
|
|
|
|
2001-05-06 20:03:03 -04:00
|
|
|
EXTRA_DIST = libraw1394.m4
|
|
|
|
|
2001-05-13 21:05:58 -04:00
|
|
|
doc: psdoc pdfdoc htmldoc
|
|
|
|
|
|
|
|
psdoc:
|
|
|
|
$(MAKE) -C doc psdoc
|
|
|
|
|
|
|
|
pdfdoc:
|
|
|
|
$(MAKE) -C doc pdfdoc
|
|
|
|
|
|
|
|
htmldoc:
|
|
|
|
$(MAKE) -C doc htmldoc
|
|
|
|
|
|
|
|
.PHONY: doc psdoc pdfdoc htmldoc
|
|
|
|
|
2000-01-02 16:55:08 -05:00
|
|
|
# make required device file
|
|
|
|
dev:
|
|
|
|
mknod -m 600 /dev/raw1394 c 171 0
|
|
|
|
chown root.root /dev/raw1394
|
|
|
|
@echo
|
|
|
|
@echo "/dev/raw1394 created"
|
|
|
|
@echo "It is owned by root with permissions 600. You may want to fix"
|
|
|
|
@echo "the group/permission to something appropriate for you."
|
|
|
|
@echo "Note however that anyone who can open raw1394 can access all"
|
|
|
|
@echo "devices on all connected 1394 buses unrestricted, including"
|
|
|
|
@echo "harddisks and other probably sensitive devices."
|
|
|
|
@echo
|
|
|
|
|
|
|
|
install-exec-hook:
|
2001-02-28 11:24:38 -05:00
|
|
|
@if [ ! -c /dev/raw1394 ]; then \
|
|
|
|
echo; \
|
|
|
|
echo "********************************************"; \
|
|
|
|
echo "Required /dev/raw1394 device file not found."; \
|
|
|
|
echo "Run 'make dev' to create it."; \
|
|
|
|
echo "********************************************"; \
|
|
|
|
echo; \
|
2000-01-02 16:55:08 -05:00
|
|
|
fi
|