Ticket #22506: patch-src-Make.pkg.diff

File patch-src-Make.pkg.diff, 687 bytes (added by nefar@…, 15 years ago)

patch file, also belongs in files/

  • src/Make.pkg

    old new  
    44
    55all: package
    66package: _obj/$(TARG).a
    7 testpackage: _test/$(TARG).a
     7testpackage: $()
    88
    99elem=$(lastword $(subst /, ,$(TARG)))
    1010dir=$(patsubst %/$(elem),%,./$(TARG))
     
    2828        rm -rf *.[$(OS)o] *.a [$(OS)].out *.cgo[12].go *.cgo[34].c *.so _obj _test _testmain.go $(CLEANFILES)
    2929
    3030test:
    31         gotest
     31        $()
    3232
    3333nuke: clean
    3434        rm -f $(pkgdir)/$(TARG).a
     
    4646        $(GC) -o $@ $(GOFILES)
    4747
    4848_gotest_.$O: $(GOFILES) $(GOTESTFILES) $(PREREQ)
    49         $(GC) -o $@ $(GOFILES) $(GOTESTFILES)
     49        $()
    5050
    5151_obj/$(TARG).a: _go_.$O $(OFILES)
    5252        @mkdir -p _obj/$(dir)