]> git.ipfire.org Git - people/ms/dma.git/commitdiff
Convert the dma-migrate Makefile to GNU format and reconnect it to the build.
authorPeter Pentchev <roam@ringlet.net>
Fri, 18 Jun 2010 14:56:54 +0000 (14:56 +0000)
committerPeter Pentchev <roam@ringlet.net>
Fri, 18 Jun 2010 14:56:54 +0000 (14:56 +0000)
dma-migrate.install [new file with mode: 0644]
dma-migrate.manpages [new file with mode: 0644]
migrate/Makefile
rules

diff --git a/dma-migrate.install b/dma-migrate.install
new file mode 100644 (file)
index 0000000..1c35b0a
--- /dev/null
@@ -0,0 +1 @@
+debian/migrate/dma-migrate usr/sbin
diff --git a/dma-migrate.manpages b/dma-migrate.manpages
new file mode 100644 (file)
index 0000000..3629dbe
--- /dev/null
@@ -0,0 +1 @@
+debian/migrate/dma-migrate.8
index 74163fb5c81d0737febc58581abf885c72feeb61..cc7d3476c008bfd1aa376c71f86d58a398a0309d 100644 (file)
@@ -1,7 +1,4 @@
-PROG=  dma-migrate
-SRCS=  dma-migrate.c
-MAN=   dma-migrate.8
+all:   dma-migrate
 
-WARNS?=        6
-
-.include <bsd.prog.mk>
+clean:
+       rm -f dma-migrate dma-migrate.o
diff --git a/rules b/rules
index a752ab4aa32d63233143543a929d1d1183a7b8f7..7ce7a04447f44bdda4aa611dab9736b67c5bde03 100755 (executable)
--- a/rules
+++ b/rules
@@ -26,9 +26,11 @@ export CFLAGS CPPFLAGS LDFLAGS
 
 override_dh_auto_build:
        $(MAKE) -f Makefile.plain
+       $(MAKE) -C $(CURDIR)/debian/migrate
 
 override_dh_auto_clean:
        $(MAKE) -f Makefile.plain clean
+       $(MAKE) -C $(CURDIR)/debian/migrate clean
 
 override_dh_auto_install:
        $(MAKE) -f Makefile.plain DESTDIR=$(CURDIR)/debian/$(PACKAGE) \