Makefile
changeset 0 4bc43250587a
child 1 b36b9eee9c41
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Fri Nov 17 10:15:27 2006 +0000
@@ -0,0 +1,16 @@
+SCRIPTS = ha-config ha-hostname ha-sync
+
+all:
+	chmod	a+rx $(SCRIPTS)
+
+install:
+	install -d $(DESTDIR)/boot/ha-config
+	install -m755 ha-sync $(DESTDIR)/sbin/ha-sync
+	install -m644 exclude.ex $(DESTDIR)/etc/ha-sync/exclude
+	install -m644 ha-sync.conf.ex $(DESTDIR)/etc/ha-sync/ha-sync.conf
+
+	install -m755 ha-config $(DESTDIR)/etc/init.d/ha-config
+	install -m755 ha-hostname $(DESTDIR)/etc/init.d/ha-hostname
+
+clean:
+	chmod a-x $(SCRIPTS)