Changeset 929589c in bootscripts-embedded for Makefile


Ignore:
Timestamp:
Oct 18, 2013, 6:35:39 AM (11 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
c91cb03
Parents:
7998c8d
Message:

Makefile: Remove dist target

We can get a tarball from the git web interface, as is done today in
CLFS embedded book.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r7998c8d r929589c  
    1 VERSION         := 1.0-pre5
    2 
    31ETCDIR          := /etc
    42EXTDIR          := ${DESTDIR}${ETCDIR}
     
    75CONFMODE        := 644
    86
    9 all:
    10         @grep "^install" Makefile | cut -d ":" -f 1
    11         @echo dist
    12         @echo "Select an appropriate install target from the above list" ; exit 1
    13 
    14 dist:
    15         rm -rf "dist/clfs-embedded-bootscripts-$(VERSION)"
    16         mkdir -p "dist/clfs-embedded-bootscripts-$(VERSION)"
    17         tar --exclude dist -c * | tar -x -C "dist/clfs-embedded-bootscripts-$(VERSION)"
    18         (cd dist; tar -cjf "clfs-embedded-bootscripts-$(VERSION).tar.bz2" "clfs-embedded-bootscripts-$(VERSION)")
    19         rm -rf "dist/clfs-embedded-bootscripts-$(VERSION)"
     7all: install-bootscripts install-dropbear
    208
    219create-dirs:
     
    4028        ln -sf ../init.d/sshd ${EXTDIR}/rc.d/stop/K30sshd
    4129
    42 .PHONY: dist all create-dirs install install-dropbear
     30.PHONY: all create-dirs install install-dropbear
Note: See TracChangeset for help on using the changeset viewer.