Changeset 495 for trunk/Makefile.in


Ignore:
Timestamp:
Nov 9, 2015, 7:16:24 PM (10 years ago)
Author:
katerina
Message:

Fix for ticket #392 (make rpm broken).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r481 r495  
    835835        echo $(top_srcdir)/docs/README.UPGRADE           >> debian/docs; \
    836836        echo $(top_srcdir)/docs/README.win2K             >> debian/docs; \
    837         echo $(top_srcdir)/docs/TODO                     >> debian/docs; \
    838837        $(MAKE) deb-run
    839838
     
    921920        @RPMTOP=`cat ~/.rpmmacros 2>/dev/null | grep '%_topdir' | awk '{ print $$2}'`; \
    922921        if test x"$$RPMTOP" = x; then RPMTOP=/usr/src; fi; \
     922        if ! test -d "$$RPMTOP"; then \
     923          RPMTOP=`echo $$HOME/rpmbuild`; \
     924        fi; \
    923925        echo "Searching the RPM package below $$RPMTOP ..."; \
    924926        RPMFILE=`find $$RPMTOP -follow -maxdepth 4 -cnewer ./samhain.spec 2>/dev/null | grep '@install_name@-$(VERSION)' | grep '\.rpm' | grep -v '\.src\.'`; \
Note: See TracChangeset for help on using the changeset viewer.