OSDN Git Service

commited.
authorTaizo ITO <taizo@karesansui-project.info>
Fri, 10 Jul 2009 09:31:09 +0000 (18:31 +0900)
committerTaizo ITO <taizo@karesansui-project.info>
Fri, 10 Jul 2009 09:31:09 +0000 (18:31 +0900)
Makefile.am

index c3cf216..0f4c8d6 100644 (file)
@@ -16,12 +16,15 @@ uninstall-local:
        @$(NORMAL_UNINSTALL)
 
 mkrpm: dist
+       @if ! which rpmbuild >/dev/null 2>&1; then \
+               echo "ERROR: rpmbuild not found"; \
+               exit 1; \
+       fi
        rpmbuild -ta pam_smtpauth-@VERSION@.tar.gz
 
 mkdeb:
        @if ! which dpkg >/dev/null 2>&1 || ! which debchange >/dev/null 2>&1; then \
                echo "ERROR: dpkg or devchange not found"; \
-               echo "apt-get install devscripts"; \
                exit 1; \
        fi
        @if head -1 debian/changelog | grep "\(@VERSION@-[0-9]*\)" >/dev/null 2>&1; then \