All pastes #367398 Raw Edit

Unnamed

public text v1 · immutable
#367398 ·published 2007-02-22 09:55 UTC
rendered paste body
#!/usr/bin/make -f

export DH_VERBOSE=1

debdir = $(CURDIR)/debian/pam-supplicant

cmake: cmake-stamp
cmake-stamp:
   dh_testdir
   mkdir build
   ( cd build ; cmake \
      -DCMAKE_SKIP_RPATH:BOOL=YES   \
      .. )
   touch cmake-stamp

build: build-stamp
build-stamp: cmake
   dh_testdir
   ( cd build ; $(MAKE) )
   touch build-stamp

clean::
   rm -fr build build-stamp cmake-stamp

binary::
   ( cd build ; $(MAKE) install DESTDIR=$(debdir) )

binary-post-install:
   dh_installdirs $(MDIR)

.PHONY:  build

.NOTPARALLEL: