summaryrefslogtreecommitdiffstats
path: root/perl-install/resize_fat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/resize_fat/Makefile')
-rw-r--r--perl-install/resize_fat/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/perl-install/resize_fat/Makefile b/perl-install/resize_fat/Makefile
index a82ca8441..34c257a4e 100644
--- a/perl-install/resize_fat/Makefile
+++ b/perl-install/resize_fat/Makefile
@@ -1,10 +1,12 @@
-.PHONY: clean
+PRODUCT = libresize
+TARSOURCE = $(PRODUCT).tar.bz2
-c_rewritten: %: %.xs
- test -e Makefile_c || perl Makefile.PL
- $(MAKE) -f Makefile_c LD_RUN_PATH=
- rm -f ../auto/resize_fat ; ln -s ../resize_fat/blib/arch/auto ../auto/resize_fat
+.PHONY: clean tar
clean:
- test ! -e Makefile_c || $(MAKE) -f Makefile_c clean
- rm -f *~ *.o
+ rm -f *~ TAGS $(TARSOURCE)
+
+tar: clean
+ cp -f ../common.pm .
+ cd .. ; tar cfy $(TARSOURCE) $(PRODUCT) ; mv $(TARSOURCE) $(PRODUCT)
+ rm -f common.pm