Changeset 471569b in mainline for release/Makefile


Ignore:
Timestamp:
2011-03-16T22:09:28Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
406d514
Parents:
aede651
Message:

Rename things 'dist' to 'release'.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • release/Makefile

    raede651 r471569b  
    3939TAR = tar
    4040
    41 # To determine IMGFILE
     41# To determine IMG_FILE
    4242-include $(EXPORT_DIR)/Makefile.config
    4343-include $(EXPORT_DIR)/boot/arch/$(BARCH)/Makefile.inc
     
    4545
    4646ifdef POST_OUTPUT
    47         IMGFILE = $(EXPORT_DIR)/boot/$(POST_OUTPUT)
     47        IMG_FILE = $(EXPORT_DIR)/boot/$(POST_OUTPUT)
    4848else
    49         IMGFILE = $(EXPORT_DIR)/boot/$(BOOT_OUTPUT)
     49        IMG_FILE = $(EXPORT_DIR)/boot/$(BOOT_OUTPUT)
    5050endif
    5151
    52 SUFFIX = $(suffix $(IMGFILE))
     52SUFFIX = $(suffix $(IMG_FILE))
    5353
    5454ifdef PROFILE
    55         DISTFILE = HelenOS-$(RELEASE)-$(shell echo $(PROFILE) | tr '/' '-')$(SUFFIX)
     55        RELEASE_FILE = HelenOS-$(RELEASE)-$(shell echo $(PROFILE) | tr '/' '-')$(SUFFIX)
    5656else
    57         DISTFILE = HelenOS-$(RELEASE)-$(PLATFORM)-$(MACHINE)-$(PROCESSOR)$(SUFFIX)
     57        RELEASE_FILE = HelenOS-$(RELEASE)-$(PLATFORM)-$(MACHINE)-$(PROCESSOR)$(SUFFIX)
    5858endif
    5959
    60 .PHONY: all clean dist distfile export srcdist
     60.PHONY: all clean release releasefile export srcrel
    6161
    62 all: distfile
    63 distfile: $(DISTFILE)
     62all: releasefile
     63releasefile: $(RELEASE_FILE)
    6464
    65 $(DISTFILE): $(IMGFILE)
     65$(RELEASE_FILE): $(IMG_FILE)
    6666        cp $< $@
    6767
    68 $(IMGFILE):
     68$(IMG_FILE):
    6969        $(MAKE) -C $(EXPORT_DIR)
    7070
    71 dist: src_dist
     71release: src_rel
    7272        for profile in $(PROFILES); do \
    7373                $(MAKE) -C $(EXPORT_DIR) clean ; \
    7474                $(MAKE) -C $(EXPORT_DIR) PROFILE=$$profile ; \
    75                 $(MAKE) PROFILE=$$profile distfile ; \
     75                $(MAKE) PROFILE=$$profile releasefile ; \
    7676        done
    7777
     
    8181        $(BZR) export $(EXPORT_DIR)
    8282
    83 src_dist $(SRC_ARCHIVE): export
     83src_rel $(SRC_ARCHIVE): export
    8484        $(TAR) -C $(shell dirname $(EXPORT_DIR)) \
    8585            -cjf $(SRC_ARCHIVE) $(shell basename $(EXPORT_DIR))
    8686
    8787clean:
    88         rm -f $(DISTFILE)
     88        rm -f $(RELEASE_FILE)
Note: See TracChangeset for help on using the changeset viewer.