Changeset 19c9fc7 in bootscripts-standard


Ignore:
Timestamp:
Jul 6, 2009, 6:53:05 PM (15 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
af4667f
Parents:
8ea83d1
Message:

Add a make dist target for creating the new bootscript tarballs.

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r8ea83d1 r19c9fc7  
    1 ETCDIR=/etc
    2 SHELL=/bin/bash
    3 EXTDIR=${DESTDIR}${ETCDIR}
    4 MODE=754
    5 DIRMODE=755
    6 CONFMODE=644
     1VERSION         := 1.2-pre9
     2
     3ETCDIR          := /etc
     4SHELL           := /bin/bash
     5EXTDIR          := ${DESTDIR}${ETCDIR}
     6MODE            := 754
     7DIRMODE         := 755
     8CONFMODE        := 644
    79
    810all:
    911        @grep "^install" Makefile | cut -d ":" -f 1
     12        @echo "dist"
    1013        @echo "Select an appropriate install target from the above list" ; exit 1
     14
     15.PHONY: dist
     16dist:
     17        rm -r "dist/bootscripts-cross-lfs-$(VERSION)"
     18        mkdir -p "dist/bootscripts-cross-lfs-$(VERSION)"
     19        tar --exclude dist -c * | tar -x -C "dist/bootscripts-cross-lfs-$(VERSION)"
     20        (cd dist; tar -cjf "bootscripts-cross-lfs-$(VERSION).tar.bz2" "bootscripts-cross-lfs-$(VERSION)")
    1121
    1222create-dirs:
Note: See TracChangeset for help on using the changeset viewer.