share/hedgewars/Data/Names/CMakeLists.txt
changeset 1945 b997bcf86c39
parent 1840 4747f0232b88
child 8443 2debc9b9f917
--- a/share/hedgewars/Data/Names/CMakeLists.txt	Sun Apr 05 07:56:16 2009 +0000
+++ b/share/hedgewars/Data/Names/CMakeLists.txt	Sun Apr 05 07:58:50 2009 +0000
@@ -1,84 +1,8 @@
+file(GLOB txtnames *.txt)
+file(GLOB cfgnames *.cfg)
+
 install(FILES
 	types.ini
-	apple.cfg
-	banana.cfg
-	Bandit.cfg
-	beefeater.cfg
-	BlueCap.cfg
-	BlueHair.cfg
-	BrainSlug.cfg
-	BrainSlugMouth.cfg
-	Bunny.cfg
-	clown.cfg
-	clown-copper.cfg
-	clown-crossed.cfg
-	Cowboy.cfg
-	crown.cfg
-	cyborg.cfg
-	darthvader.cfg
-	Glasses.cfg
-	GreenCap.cfg
-	GreenHair.cfg
-	GreyHair.cfg
-	Hat.cfg
-	HogInTheHat.cfg
-	IndianChief.cfg
-	KirbyMask.cfg
-	kiss_criss.cfg
-	kiss_frehley.cfg
-	kiss_simmons.cfg
-	kiss_stanley.cfg
-	knight.cfg
-	lemon.cfg
-	MegaHogX.cfg
-	mp3.cfg
-	NinjaFull.cfg
-	NinjaStraight.cfg
-	NinjaTriangle.cfg
-	NoHat.cfg
-	orange.cfg
-	OrangeHair.cfg
-	PinkHair.cfg
-	pirate_jack_bandana.cfg
-	pirate_jack.cfg
-	PurpleHair.cfg
-	RedCap.cfg
-	RedHair.cfg
-	RobinHood.cfg
-	royalguard.cfg
-	Ryu.cfg
-	Samurai.cfg
-	Santa.cfg
-	slowpoke.cfg
-	Sonic.cfg
-	SparkleSuperFun.cfg
-	spartan.cfg
-	stormtrooper.cfg
-	StrawHat.cfg
-	StrawHatEyes.cfg
-	StrawHatFacial.cfg
-	Sunglasses.cfg
-	ushanka.cfg
-	venom.cfg
-	Viking.cfg
-	WhySoSerious.cfg
-	WizardHat.cfg
-	YellowCap.cfg
-	YellowHair.cfg
-	apple.txt
-	banana.txt
-	bandit.txt
-	brainslug.txt
-	clown.txt
-	cowboy.txt
-	crown.txt
-	fruit.txt
-	generic.txt
-	indian.txt
-	kiss.txt
-	ninja.txt
-	orange.txt
-	pirate.txt
-	whysoserious.txt
-	wizard.txt
+	${txtnames}
+	${cfgnames}
 	DESTINATION ${SHAREPATH}Data/Names)