summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-09-27 17:04:37 +0200
committerHarald Hoyer <harald@redhat.com>2012-09-27 17:04:37 +0200
commit308015bc4d47a7202bf201c20eb627c9c6a79e0e (patch)
treee1e4e0d2162c767290af8874b7bf5e485aed4956 /Makefile
parent2692a422315c6eb6df251c652f4295d749984452 (diff)
downloaddracut-308015bc4d47a7202bf201c20eb627c9c6a79e0e.tar.gz
dracut-308015bc4d47a7202bf201c20eb627c9c6a79e0e.tar.bz2
dracut-308015bc4d47a7202bf201c20eb627c9c6a79e0e.zip
Makefile: revert documentation logic
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ac1c178e..7194c416 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,7 @@ indent:
doc: $(manpages) dracut.html
-ifeq ($(enable_documentation),yes)
+ifneq ($(enable_documentation),no)
all: doc
endif
@@ -98,7 +98,7 @@ install: dracut-version.sh
install -m 0755 dracut-logger.sh $(DESTDIR)$(pkglibdir)/dracut-logger.sh
install -m 0755 dracut-initramfs-restore.sh $(DESTDIR)$(pkglibdir)/dracut-initramfs-restore
cp -arx modules.d $(DESTDIR)$(pkglibdir)
-ifeq ($(enable_documentation),yes)
+ifneq ($(enable_documentation),no)
for i in $(man1pages); do install -m 0644 $$i $(DESTDIR)$(mandir)/man1/$${i##*/}; done
for i in $(man5pages); do install -m 0644 $$i $(DESTDIR)$(mandir)/man5/$${i##*/}; done
for i in $(man7pages); do install -m 0644 $$i $(DESTDIR)$(mandir)/man7/$${i##*/}; done