From 0ab66db7b95cdcf5aa5223e1c55ff24d386aa833 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Mon, 27 Jan 2014 08:50:59 +0100
Subject: [PATCH] move systemd unit to directory systemd/

---
 .gitignore                               | 4 ++--
 Makefile.am                              | 2 +-
 configure.ac                             | 2 +-
 mpd.service.in => systemd/mpd.service.in | 0
 4 files changed, 4 insertions(+), 4 deletions(-)
 rename mpd.service.in => systemd/mpd.service.in (100%)

diff --git a/.gitignore b/.gitignore
index 9b052a29f..d744d3833 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,8 +32,8 @@ ltmain.sh
 missing
 mkinstalldirs
 /test-driver
-mpd
-mpd.service
+/src/mpd
+/systemd/mpd.service
 stamp-h1
 tags
 *~
diff --git a/Makefile.am b/Makefile.am
index ed782259e..e21a1f920 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1185,7 +1185,7 @@ FILTER_LIBS = \
 
 if HAVE_SYSTEMD
 systemdsystemunit_DATA = \
-	mpd.service
+	systemd/mpd.service
 endif
 
 #
diff --git a/configure.ac b/configure.ac
index d65839a40..7fa1e3522 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1796,7 +1796,7 @@ dnl Generate files
 dnl ---------------------------------------------------------------------------
 AC_CONFIG_FILES(Makefile)
 AC_CONFIG_FILES(doc/doxygen.conf)
-AC_CONFIG_FILES(mpd.service)
+AC_CONFIG_FILES(systemd/mpd.service)
 AC_OUTPUT
 
 echo 'MPD is ready for compilation, type "make" to begin.'
diff --git a/mpd.service.in b/systemd/mpd.service.in
similarity index 100%
rename from mpd.service.in
rename to systemd/mpd.service.in